VTK  9.6.20260215
vtkHullPoint Struct Reference

Represent a point/vertex of the Voronoi polyhedron. More...

#include <vtkVoronoiHull.h>

Public Member Functions

 vtkHullPoint (double x, double y, double z)
 
 vtkHullPoint (double x[3])
 
void Replace (double x, double y, double z)
 

Public Attributes

double X [3]
 
double Val
 
double R2
 
int PtMap
 
int Faces [3]
 
ProcessingStatus Status
 

Detailed Description

Represent a point/vertex of the Voronoi polyhedron.

This includes the position, the evaluated value against the current clipping plane, and radius**2 of the distance of the point to the generating point (i.e., the Voronoi petal radius**2). Note: the id of the point is implicitly known from its position in the vtkHullPointsArray. The Faces[3] are the three faces (defined by the three nearby point generators) whose separation planes intersect to produce the point. If more than three faces meet at the point then the point is degenerate. Note the Status member: due to the memory management processes, the Status will change. Make sure to process only points and faces with Status==ProcessingStatus::Valid.

Definition at line 87 of file vtkVoronoiHull.h.

Constructor & Destructor Documentation

◆ vtkHullPoint() [1/2]

vtkHullPoint::vtkHullPoint ( double x,
double y,
double z )
inline

Definition at line 97 of file vtkVoronoiHull.h.

◆ vtkHullPoint() [2/2]

vtkHullPoint::vtkHullPoint ( double x[3])
inline

Definition at line 106 of file vtkVoronoiHull.h.

Member Function Documentation

◆ Replace()

void vtkHullPoint::Replace ( double x,
double y,
double z )
inline

Definition at line 117 of file vtkVoronoiHull.h.

Member Data Documentation

◆ X

double vtkHullPoint::X[3]

Definition at line 89 of file vtkVoronoiHull.h.

◆ Val

double vtkHullPoint::Val

Definition at line 90 of file vtkVoronoiHull.h.

◆ R2

double vtkHullPoint::R2

Definition at line 91 of file vtkVoronoiHull.h.

◆ PtMap

int vtkHullPoint::PtMap

Definition at line 92 of file vtkVoronoiHull.h.

◆ Faces

int vtkHullPoint::Faces[3]

Definition at line 93 of file vtkVoronoiHull.h.

◆ Status

ProcessingStatus vtkHullPoint::Status

Definition at line 94 of file vtkVoronoiHull.h.


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