|
VTK
9.7.20260805
|
#include <vtkVoronoiCore.h>
A topological coordinate of dimension N are the N+1 ids of neighboring N+1 Voronoi generator points whose spokes form half spaces intersecting at a tile (2D) / hull (3D) vertex.
In non-degenerate situations, the topological coordinate enumerates a Delaunay simplex (triangle 2D or tetrahedron 3D). The topological coordinate is used to topological merge coincident points, generate a Delaunay triangulation, characterize local topology (e.g., for smoothing), and verify the correctness of the resulting Voronoi tessellation or its dual Delaunay triangulation.
Definition at line 223 of file vtkVoronoiCore.h.
Public Member Functions | |
| vtkVoronoiTopoCoord3D () | |
| Various flavors of constructors. | |
| vtkVoronoiTopoCoord3D (vtkIdType p0, vtkIdType p1, vtkIdType p2, vtkIdType ptId) | |
| Define with the N+1 point generators: the N generators producing the hull vertex, plus the current point generator. | |
| vtkVoronoiTopoCoord3D (const vtkVoronoiTopoCoord3D &tt) | |
| Copy constructor assumes that tuple ids are already sorted. | |
| bool | operator< (const vtkVoronoiTopoCoord3D &tuple) const |
| Operator< used to support a subsequent sort operation of the n-tuples (used for uniquely identifying and producing a topologcally coincident point). | |
Public Attributes | |
| std::array< vtkIdType, 4 > | Ids |
| Points defining a topological coord tuple / Delaunay simplex. | |
|
inline |
Various flavors of constructors.
Definition at line 234 of file vtkVoronoiCore.h.
|
inline |
Define with the N+1 point generators: the N generators producing the hull vertex, plus the current point generator.
Definition at line 242 of file vtkVoronoiCore.h.
|
inline |
Copy constructor assumes that tuple ids are already sorted.
Definition at line 250 of file vtkVoronoiCore.h.
|
inline |
Operator< used to support a subsequent sort operation of the n-tuples (used for uniquely identifying and producing a topologcally coincident point).
Definition at line 257 of file vtkVoronoiCore.h.
| std::array<vtkIdType, 4> vtkVoronoiTopoCoord3D::Ids |
Points defining a topological coord tuple / Delaunay simplex.
std::array has some nice properties including being easily sortable.
Definition at line 229 of file vtkVoronoiCore.h.