Geogram
Version 1.9.1-rc
A programming library of geometric algorithms
|
Builds a Mesh using the symbolic information in the vertices computed by a RestrictedVoronoiDiagram. More...
#include <geogram/voronoi/RVD_mesh_builder.h>
Public Member Functions | |
RVDMeshBuilder (Mesh *target, Mesh *reference, Delaunay *) | |
Constructs a new RVDMeshBuilder. More... | |
void | begin_surface () |
Starts to build a new surface. | |
void | begin_reference_facet (index_t ref_facet) |
Starts a new reference facet. More... | |
void | begin_facet (index_t seed) |
Starts a new facet of the restricted Voronoi diagram. More... | |
void | add_vertex_to_facet (const double *point, const SymbolicVertex &sym) |
Adds a vertex to the current facet. More... | |
void | end_facet () |
Terminates the current facet. More... | |
void | end_reference_facet () |
Terminates the current reference facet. More... | |
void | end_surface () |
Terminates the current surface. | |
void | set_dimension (coord_index_t x) |
Specifies the dimension to be used. More... | |
Builds a Mesh using the symbolic information in the vertices computed by a RestrictedVoronoiDiagram.
The vertices with the same symbolic information are merged.
Definition at line 157 of file RVD_mesh_builder.h.
Constructs a new RVDMeshBuilder.
[out] | target | where to build the mesh that represents the Restricted Voronoi Diagram |
[in] | reference | the input mesh |
Definition at line 165 of file RVD_mesh_builder.h.
|
inline |
Adds a vertex to the current facet.
[in] | point | coordinates of the vertex |
[in] | sym | symbolic representation of the vertex |
Definition at line 211 of file RVD_mesh_builder.h.
|
inline |
Starts a new facet of the restricted Voronoi diagram.
[in] | seed | the Voronoi seed that corresponds to the new facet. |
Definition at line 201 of file RVD_mesh_builder.h.
|
inline |
Starts a new reference facet.
Does nothing in this implementation that does not use the reference facet index.
[in] | ref_facet | index of the reference facet (unused) |
Definition at line 191 of file RVD_mesh_builder.h.
|
inline |
Terminates the current facet.
Definition at line 232 of file RVD_mesh_builder.h.
|
inline |
Terminates the current reference facet.
Does nothing in this implementation.
Definition at line 244 of file RVD_mesh_builder.h.
|
inline |
Specifies the dimension to be used.
Not implemented yet, uses the dimension of the RestrictedVoronoiDiagram.
Definition at line 260 of file RVD_mesh_builder.h.