Fade2.5D Documentation pages v1.93
Delaunay Features
Zone2.h File Reference
#include "common.h"
#include "freeFunctions.h"
#include "FadeExport.h"
#include "Bbox2.h"
#include "Edge2.h"
#include "Segment2.h"
#include "UserPredicates.h"
#include "MsgBase.h"

Go to the source code of this file.

Classes

struct  GEOM_FADE25D::CompPolygon
 Connected component with boundary- and hole polygons. More...
 
class  GEOM_FADE25D::Zone2
 Zone2 is a certain defined area of a triangulation. More...
 

Enumerations

enum  GEOM_FADE25D::OptimizationMode { GEOM_FADE25D::OPTMODE_STANDARD , GEOM_FADE25D::OPTMODE_BETTER , GEOM_FADE25D::OPTMODE_BEST }
 

Functions

Zone2 * GEOM_FADE25D::zoneDifference (Zone2 *pZone0, Zone2 *pZone1)
 Compute the difference of two zones. More...
 
Zone2 * GEOM_FADE25D::zoneIntersection (Zone2 *pZone0, Zone2 *pZone1)
 Compute the intersection of two zones. More...
 
Zone2 * GEOM_FADE25D::zoneSymmetricDifference (Zone2 *pZone0, Zone2 *pZone1)
 Compute the symmetric difference of two zones. More...
 
Zone2 * GEOM_FADE25D::zoneUnion (Zone2 *pZone0, Zone2 *pZone1)
 Compute the union of two zones. More...
 

Enumeration Type Documentation

◆ OptimizationMode

Enumerates the possible modes for Valley/Ridge optimization through Zone2::slopeValleyRidgeOptimization().

Enumerator
OPTMODE_STANDARD 

Fastest optimization mode.

OPTMODE_BETTER 

Considerably better quality and still fast.

OPTMODE_BEST 

Best quality but quite time consuming.

Function Documentation

◆ zoneDifference()

Zone2* GEOM_FADE25D::zoneDifference ( Zone2 pZone0,
Zone2 pZone1 
)
Returns
a new zone containing the triangles of *pZone0 minus the ones of *pZone1
Note
pZone0 and pZone1 must belong to the same Fade_2D object.

◆ zoneIntersection()

Zone2* GEOM_FADE25D::zoneIntersection ( Zone2 pZone0,
Zone2 pZone1 
)
Returns
a new zone containing the intersection of *pZone0 and *pZone1
Note
pZone0 and pZone1 must belong to the same Fade_2D object.

◆ zoneSymmetricDifference()

Zone2* GEOM_FADE25D::zoneSymmetricDifference ( Zone2 pZone0,
Zone2 pZone1 
)
Returns
a new zone containing the triangles that are present in one of the zones but not in the other one.
Note
pZone0 and pZone1 must belong to the same Fade_2D object.

◆ zoneUnion()

Zone2* GEOM_FADE25D::zoneUnion ( Zone2 pZone0,
Zone2 pZone1 
)
Returns
a new zone containing the union of the triangles of *pZone0 and *pZone1
Note
pZone0 and pZone1 must belong to the same Fade_2D object.