Gudhi::skeleton_blocker::SkeletonBlockerDS::Root_vertex_handle Struct Reference

Root_vertex_handle and Vertex_handle are similar to global and local vertex descriptor used in boost subgraphs and allow to localize a vertex of a subcomplex on its parent root complex. More...

#include <concept/Skeleton_blocker/SkeletonBlockerDS.h>

## Detailed Description

Root_vertex_handle and Vertex_handle are similar to global and local vertex descriptor used in boost subgraphs and allow to localize a vertex of a subcomplex on its parent root complex.

In gross, vertices are stored in a vector and the Root_vertex_handle and Vertex_handle store indices of a vertex in this vector.

For the root simplicial complex, the Root_vertex_handle and Vertex_handle of a vertex are the same.

For a subcomplex L of a simplicial complex K, the local descriptor, ie the Vertex_handle, of a vertex v (that belongs to L) is its position in the vector of vertices of the subcomplex L whereas its Root_vertex_handle (global descriptor) is the position of v in the vector of the vertices of the root simplicial complex K.

Examples