Fade2D Documentation pages v2.12
Delaunay Features
ConstraintSegment2.h File Reference
#include <set>
#include "common.h"

Go to the source code of this file.

Classes

class  GEOM_FADE2D::ConstraintSegment2
 A ConstraintSegment2 represents a Constraint Edge. More...
 

Enumerations

enum  GEOM_FADE2D::ConstraintInsertionStrategy { GEOM_FADE2D::CIS_CONFORMING_DELAUNAY =0 , GEOM_FADE2D::CIS_CONSTRAINED_DELAUNAY =1 , GEOM_FADE2D::CIS_KEEP_DELAUNAY =0 , GEOM_FADE2D::CIS_IGNORE_DELAUNAY =1 }
 Constraint Insertion Strategy determines how a constraint edge shall be inserted: More...
 

Enumeration Type Documentation

◆ ConstraintInsertionStrategy

  • CIS_CONSTRAINED_DELAUNAY inserts a segment without subdivision unless required (which is the case if existing vertices or constraint segments are crossed).

All other constraint insertion strategies are deprecated and only kept for backwards compatibility. Their behavior can be achieved using ConstraintGraph2::makeDelaunay() and/or Fade_2D::drape(). See also examples_25D/terrain.cpp.

Note
In former library versions the terms CIS_IGNORE_DELAUNAY and CIS_KEEP_DELAUNAY were used but these were misleading and are now deprecated. For backwards compatibility they are kept.
Enumerator
CIS_CONFORMING_DELAUNAY 

Deprecated.

CIS_CONSTRAINED_DELAUNAY 

The recommended insertion strategy.

CIS_KEEP_DELAUNAY 

Deprecated name.

CIS_IGNORE_DELAUNAY 

Deprecated.