23 #if GEOM_PSEUDO3D==GEOM_TRUE
24 namespace GEOM_FADE25D {
25 #elif GEOM_PSEUDO3D==GEOM_FALSE
26 namespace GEOM_FADE2D {
28 #error GEOM_PSEUDO3D is not defined
32 class ConstraintGraph2;
55 #if GEOM_PSEUDO3D==GEOM_TRUE
56 CIS_CONFORMING_DELAUNAY_SEGMENT_LEVEL=2,
73 friend class ConstraintMgr;
97 bool dbg_hasDirection();
125 if(p0<pOther.p0)
return true;
126 if(p0>pOther.p0)
return false;
159 bool splitAndRemovePrev(
const Point2& split);
185 size_t getNumberOfOwners()
const;
196 void setAdjacentArea(
double adjacentArea_);
205 double getAdjacentArea()
const;
207 static int runningLabel;
211 std::set<ConstraintGraph2*> sOwners;
217 std::vector<ConstraintSegment2*> vChildren;
std::ostream & operator<<(std::ostream &stream, const Bbox2 &pC)
Print the box.
Definition: Bbox2.h:492
ConstraintInsertionStrategy
Constraint Insertion Strategy determines how a constraint edge shall be inserted:
Definition: ConstraintSegment2.h:52
@ CIS_KEEP_DELAUNAY
Deprecated name.
Definition: ConstraintSegment2.h:58
@ CIS_CONSTRAINED_DELAUNAY
The recommended insertion strategy.
Definition: ConstraintSegment2.h:54
@ CIS_CONFORMING_DELAUNAY
Deprecated.
Definition: ConstraintSegment2.h:53
@ CIS_IGNORE_DELAUNAY
Deprecated.
Definition: ConstraintSegment2.h:59
ConstraintGraph2 is a set of Constraint Edges (ConstraintSegment2)
Definition: ConstraintGraph2.h:52
A ConstraintSegment2 represents a Constraint Edge.
Definition: ConstraintSegment2.h:69
Point2 * getTrg() const
Get the second endpoint.
bool operator<(const ConstraintSegment2 &pOther) const
operator<(..) Compares the vertex pointers of the endpoints, not the length
Definition: ConstraintSegment2.h:123
void getChildrenAndSplitPoint(ConstraintSegment2 *&pCSeg0, ConstraintSegment2 *&pCSeg1, Point2 *&pSplitPoint)
Get the children and the split point Retrieve the two direct children of the current ConstraintSegmen...
Point2 * getSrc() const
Get the first endpoint.
bool isAlive() const
Check if the present ConstraintSegment2 is alive.
Point2 * insertAndSplit(const Point2 &splitPoint)
Split a constraint segment.
bool split_combinatorialOnly(Point2 *pSplit)
Split a constraint segment.
ConstraintInsertionStrategy getCIS() const
Get the Constraint Insertion Strategy (CIS)
void getChildrenRec(std::vector< ConstraintSegment2 * > &vChildConstraintSegments)
Get all children Recursively retrieve all children of the current ConstraintSegment2.
Point.
Definition: Point2.h:43