Fade2D Documentation pages v2.12
Delaunay Features
GEOM_FADE2D::VoroVertex2 Class Reference

Voronoi vertex. More...

#include <VoroVertex2.h>

Public Member Functions

Triangle2getDualTriangle () const
 Get dual triangle. More...
 
Point2 getPoint ()
 Get Point. More...
 
bool isAlive () const
 Is alive. More...
 

Detailed Description

This class represents a vertex of the Voronoi diagram. A Voronoi vertex is the circumcenter of a certain triangle of the dual Delaunay triangulation.

Member Function Documentation

◆ getDualTriangle()

Triangle2* GEOM_FADE2D::VoroVertex2::getDualTriangle ( ) const

A Voronoi vertex is the circumcenter of a certain triangle in the dual Delaunay triangulation.

Returns
the corresponding Delaunay triangle

◆ getPoint()

Point2 GEOM_FADE2D::VoroVertex2::getPoint ( )
Returns
the Voronoi vertex as a Point2

◆ isAlive()

bool GEOM_FADE2D::VoroVertex2::isAlive ( ) const

The Voronoi diagram changes dynamically when points are inserted or removed from the dual Delaunay triangulation.

Returns
whether the present Voronoi vertex is still valid

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