Geogram
Version 1.9.1
A programming library of geometric algorithms
|
RVDVertexMap maps symbolic vertices to unique ids. More...
#include <geogram/voronoi/RVD_mesh_builder.h>
Public Member Functions | |
RVDVertexMap () | |
Constructs an empty map. | |
index_t | find_or_create_vertex (index_t center_vertex_id, const SymbolicVertex &sym) |
Maps the symbolic information of a vertex into a unique identifier. More... | |
void | set_first_vertex_index (index_t i) |
Defines the index of the first created vertex. More... | |
Protected Member Functions | |
index_t | new_vertex () |
Allocates a new vertex. | |
index_t | nb_bisectors (const signed_trindex &sym) const |
Gets the number of bisectors represented in a symbolic vertex. | |
RVDVertexMap maps symbolic vertices to unique ids.
Symbolic vertices are manipulated by GEOGen::RestrictedVoronoiDiagram. This class is used for instance in the implementation of RVDMeshBuilder.
Definition at line 72 of file RVD_mesh_builder.h.
index_t GEO::RVDVertexMap::find_or_create_vertex | ( | index_t | center_vertex_id, |
const SymbolicVertex & | sym | ||
) |
Maps the symbolic information of a vertex into a unique identifier.
[in] | center_vertex_id | the index of the current Voronoi seed (provided by action classes in GEOGen::RestrictedVoronoiDiagram) |
[in] | sym | the symbolic representation of the vertex (provided by action classes in GEOGen::RestrictedVoronoiDiagram) |
|
inline |
Defines the index of the first created vertex.
[in] | i | index of the first vertex that will be created (default is 0). |
Definition at line 99 of file RVD_mesh_builder.h.