31 #if GEOM_PSEUDO3D==GEOM_TRUE
32 namespace GEOM_FADE25D {
33 #elif GEOM_PSEUDO3D==GEOM_FALSE
34 namespace GEOM_FADE2D {
36 #error GEOM_PSEUDO3D is not defined
118 const char* filename,
120 bool bCellColors=
true,
123 bool bCellLabels=
false
142 bool bCellColors=
true,
145 bool bCellLabels=
false
Point.
Definition: Point2.h:53
Triangle.
Definition: Triangle2.h:60
Visualizer2 is a PDF- and Postscript writer.
Definition: Visualizer2.h:55
Voronoi cell.
Definition: VoroCell2.h:45
Voronoi vertex.
Definition: VoroVertex2.h:44
Voronoi diagram.
Definition: Voronoi2.h:56
VoroCell2 * locateVoronoiCell(const Point2 &queryPoint)
Locate a Voronoi Cell.
VoroCell2 * getVoronoiCell(Point2 *pSite)
Get Voronoi cell.
bool getVCellsAtVEdge(VoroVertex2 *pVoroVtx0, VoroVertex2 *pVoroVtx1, VoroCell2 *&pCell0, VoroCell2 *&pCell1)
Get the Voronoi cells adjacent to a Voronoi edge.
bool isValid() const
Is valid.
VoroVertex2 * getVoronoiVertex(Triangle2 *pT)
Get the Voronoi vertex of a triangle.
void getVoronoiCells(std::vector< VoroCell2 * > &vVoronoiCells)
Get all Voronoi cells.
void show(const char *filename, bool bVoronoi=true, bool bCellColors=true, bool bSites=true, bool bDelaunay=true, bool bCellLabels=false)
Draw the Voronoi diagram.
void show(Visualizer2 *pVisualizer, bool bVoronoi=true, bool bCellColors=true, bool bSites=true, bool bDelaunay=true, bool bCellLabels=false)
Draw the Voronoi diagram.