28 #if GEOM_PSEUDO3D==GEOM_TRUE
29 namespace GEOM_FADE25D {
30 #elif GEOM_PSEUDO3D==GEOM_FALSE
31 namespace GEOM_FADE2D {
33 #error GEOM_PSEUDO3D is not defined
38 class ConstraintSegment2;
58 std::vector<ConstraintSegment2*>& vCSegments,
66 std::vector<ConstraintSegment2*>& vCSegments_,
67 std::map<std::pair<Point2*,Point2*>,
bool > mPPReverse,
72 void init(std::vector<ConstraintSegment2*>& vCSegments_);
183 void updateSplittedConstraintSegment(
202 void getAliveConstraintChain(std::vector<ConstraintSegment2*>& vAliveCSeg) ;
204 void setDirectionsRecursive(
const std::vector<ConstraintSegment2*>& vCSegments);
249 bool checkAndSortPolygon(std::vector<ConstraintSegment2*>& vCSegments_);
251 bool checkAndSortPolygonSub(std::vector<ConstraintSegment2*>& vCSegments);
253 void makeSelfOwner(std::vector<ConstraintSegment2*>& vCSeg);
257 GeomTest* pGeomPredicates;
259 std::vector<ConstraintSegment2*> vCSegParents;
261 std::map<ConstraintSegment2*,bool,func_ltDerefPtr<ConstraintSegment2*> > mCSegReverse;
262 std::map<Point2*,size_t> mSplitPointNum;
ConstraintInsertionStrategy
Constraint Insertion Strategy determines how a constraint edge shall be inserted:
Definition: ConstraintSegment2.h:52
Color for visualization.
Definition: Color.h:59
ConstraintGraph2 is a set of Constraint Edges (ConstraintSegment2)
Definition: ConstraintGraph2.h:52
bool isReverse(ConstraintSegment2 *pCSeg) const
bool isOriented() const
Are the segments of the constraint graph oriented?
ConstraintInsertionStrategy getInsertionStrategy() const
Get the constraint insertion strategy.
void show(const char *name)
Visualization.
bool isConstraint(ConstraintSegment2 *pCSeg) const
Check if a ConstraintSegment2 is a member.
bool isPolygon() const
Does the constraint graph form a closed polygon?
void getPolygonVertices(std::vector< Point2 * > &vVertices_)
Get the vertices of the constraint segments.
void show(Visualizer2 *pVis, const Color &color)
Visualization.
bool isConstraint(Point2 *p0, Point2 *p1) const
Check if an edge is a constraint.
void getDirectChildren(ConstraintSegment2 *pParent, ConstraintSegment2 *&pChild0, ConstraintSegment2 *&pChild1)
Get direct children.
void getChildConstraintSegments(std::vector< ConstraintSegment2 * > &vConstraintSegments_) const
Get child ConstraintSegment2 objects.
void getOriginalConstraintSegments(std::vector< ConstraintSegment2 * > &vConstraintSegments_) const
Get the original ConstraintSegment2 objects.
bool makeDelaunay(double minLength)
A ConstraintSegment2 represents a Constraint Edge.
Definition: ConstraintSegment2.h:69
Point.
Definition: Point2.h:43
Visualizer2 is a general Postscript writer. It draws the objects Point2, Segment2,...
Definition: Visualizer2.h:56