Fade2D Documentation pages v2.16.6
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"
#include "VtkWriter.h"
#include "CompPolygon.h"
#include "PolygonClipper.h"

Go to the source code of this file.

Classes

class  GEOM_FADE2D::Zone2
 ‍** More...
 

Enumerations

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

Functions

Zone2 * GEOM_FADE2D::zoneDifference (Zone2 *pZone0, Zone2 *pZone1)
 Computes the difference between two Zone2 objects. More...
 
Zone2 * GEOM_FADE2D::zoneIntersection (Zone2 *pZone0, Zone2 *pZone1)
 Computes the intersection of two Zone2 objects. More...
 
Zone2 * GEOM_FADE2D::zoneSymmetricDifference (Zone2 *pZone0, Zone2 *pZone1)
 Computes the symmetric difference between two Zone2 objects. More...
 
Zone2 * GEOM_FADE2D::zoneUnion (Zone2 *pZone0, Zone2 *pZone1)
 Computes the union of two Zone2 objects. 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_FADE2D::zoneDifference ( Zone2 pZone0,
Zone2 pZone1 
)

Computes the difference between two Zone2 objects.

This function returns a pointer to a new Zone2 object representing the difference between the two input zones. The difference is the area covered by the first zone that is not covered by the second zone. The input zones must belong to the same Fade_2D object.

Parameters
pZone0Pointer to the first Zone2 object.
pZone1Pointer to the second Zone2 object.
Returns
Zone2* A pointer to the resulting Zone2 object representing the difference. If the result is empty, the function returns NULL.

◆ zoneIntersection()

Zone2* GEOM_FADE2D::zoneIntersection ( Zone2 pZone0,
Zone2 pZone1 
)

Computes the intersection of two Zone2 objects.

This function returns a pointer to a new Zone2 object representing the intersection of the two input zones. The intersection is the area covered by both of the input zones. The input zones must belong to the same Fade_2D object.

Parameters
pZone0Pointer to the first Zone2 object.
pZone1Pointer to the second Zone2 object.
Returns
Zone2* A pointer to the resulting Zone2 object representing the intersection. If the result is empty, the function returns NULL.

◆ zoneSymmetricDifference()

Zone2* GEOM_FADE2D::zoneSymmetricDifference ( Zone2 pZone0,
Zone2 pZone1 
)

Computes the symmetric difference between two Zone2 objects.

This function returns a pointer to a new Zone2 object representing the symmetric difference between the two input zones. The symmetric difference is the area covered by either of the input zones but not by both. The input zones must belong to the same Fade_2D object.

Parameters
pZone0Pointer to the first Zone2 object.
pZone1Pointer to the second Zone2 object.
Returns
Zone2* A pointer to the resulting Zone2 object representing the symmetric difference. If the result is empty, the function returns NULL.

◆ zoneUnion()

Zone2* GEOM_FADE2D::zoneUnion ( Zone2 pZone0,
Zone2 pZone1 
)

Computes the union of two Zone2 objects.

This function returns a pointer to a new Zone2 object representing the union of the two input zones. The union is the area covered by either of the input zones. The input zones must belong to the same Fade_2D object.

Parameters
pZone0Pointer to the first Zone2 object.
pZone1Pointer to the second Zone2 object.
Returns
Zone2* A pointer to the resulting Zone2 object representing the union.