Fade2D Documentation pages v2.12
Delaunay Features
VoroVertex2.h
Go to the documentation of this file.
1 // Copyright (C) Geom Software e.U, Bernhard Kornberger, Graz/Austria
2 //
3 // This file is part of the Fade2D library. The student license is free
4 // of charge and covers personal non-commercial research. Licensees
5 // holding a commercial license may use this file in accordance with
6 // the Commercial License Agreement.
7 //
8 // This software is provided AS IS with NO WARRANTY OF ANY KIND,
9 // INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
10 // FOR A PARTICULAR PURPOSE.
11 //
12 // Please contact the author if any conditions of this licensing are
13 // not clear to you.
14 //
15 // Author: Bernhard Kornberger, bkorn (at) geom.at
16 // http://www.geom.at
17 
18 
23 #pragma once
24 #include "common.h"
25 #include "Triangle2.h"
26 
27 #if GEOM_PSEUDO3D==GEOM_TRUE
28  namespace GEOM_FADE25D {
29 #elif GEOM_PSEUDO3D==GEOM_FALSE
30  namespace GEOM_FADE2D {
31 #else
32  #error GEOM_PSEUDO3D is not defined
33 #endif
34 
35 class Voronoi2Impl; // FWD
36 
43 class CLASS_DECLSPEC VoroVertex2
44 {
45 public:
47  VoroVertex2(Voronoi2Impl* pImpl_,Triangle2* pT_);
48 
56  bool isAlive() const;
71 protected:
73  bool isSaved() const;
75  Voronoi2Impl* pImpl;
79  void computeCC(bool bForceExact);
81  Point2 voroPoint;
83  Triangle2* pT;
85  Point2* aDelVtx[3];
86 
87 };
88 
89 
90 } // (namespace)
91 
92 
CircumcenterQuality
CircumcenterQuality.
Definition: Triangle2.h:36
Point.
Definition: Point2.h:52
Triangle.
Definition: Triangle2.h:60
Voronoi vertex.
Definition: VoroVertex2.h:44
bool isAlive() const
Is alive.
Point2 getPoint()
Get Point.
Triangle2 * getDualTriangle() const
Get dual triangle.