VTK  9.6.20260213
vtkVoronoiTopoCoord3D Struct Reference

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. More...

#include <vtkVoronoiCore.h>

Inheritance diagram for vtkVoronoiTopoCoord3D:
[legend]

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.
 

Detailed Description

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 221 of file vtkVoronoiCore.h.

Constructor & Destructor Documentation

◆ vtkVoronoiTopoCoord3D() [1/3]

vtkVoronoiTopoCoord3D::vtkVoronoiTopoCoord3D ( )
inline

Various flavors of constructors.

Definition at line 232 of file vtkVoronoiCore.h.

◆ vtkVoronoiTopoCoord3D() [2/3]

vtkVoronoiTopoCoord3D::vtkVoronoiTopoCoord3D ( vtkIdType p0,
vtkIdType p1,
vtkIdType p2,
vtkIdType ptId )
inline

Define with the N+1 point generators: the N generators producing the hull vertex, plus the current point generator.

Definition at line 240 of file vtkVoronoiCore.h.

◆ vtkVoronoiTopoCoord3D() [3/3]

vtkVoronoiTopoCoord3D::vtkVoronoiTopoCoord3D ( const vtkVoronoiTopoCoord3D & tt)
inline

Copy constructor assumes that tuple ids are already sorted.

Definition at line 248 of file vtkVoronoiCore.h.

Member Function Documentation

◆ operator<()

bool vtkVoronoiTopoCoord3D::operator< ( const vtkVoronoiTopoCoord3D & tuple) const
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 255 of file vtkVoronoiCore.h.

Member Data Documentation

◆ Ids

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 227 of file vtkVoronoiCore.h.


The documentation for this struct was generated from the following file: