Voronoi vertex. More...
#include <VoroVertex2.h>
Public Member Functions | |
| Triangle2 * | getDualTriangle () const |
| Retrieve the corresponding dual Delaunay triangle. More... | |
| Point2 | getPoint () |
| Get the Voronoi vertex as a Point2. More... | |
| bool | isAlive () const |
| Check if the Voronoi vertex is still valid. More... | |
This class represents a Voronoi vertex, which is the circumcenter of a triangle from the dual Delaunay triangulation.
| Triangle2* GEOM_FADE25D::VoroVertex2::getDualTriangle | ( | ) | const |
The Voronoi vertex is the circumcenter of a triangle in the dual Delaunay triangulation. This method retrieves the Delaunay triangle that corresponds to the current Voronoi vertex.
| Point2 GEOM_FADE25D::VoroVertex2::getPoint | ( | ) |
| bool GEOM_FADE25D::VoroVertex2::isAlive | ( | ) | const |
As the Voronoi diagram evolves dynamically when points are inserted or removed from the dual Delaunay triangulation, the validity of a Voronoi vertex may change.
true if the Voronoi vertex is still valid, false otherwise