#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.
◆ 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.
|
◆ zoneDifference()
CLASS_DECLSPEC Zone2* GEOM_FADE2D::zoneDifference |
( |
Zone2 * |
pZone0, |
|
|
Zone2 * |
pZone1 |
|
) |
| |
Left: pZone0, Middle: pZone1, Right: difference
This function returns a pointer to a new Zone2 object representing the difference between pZone0
and pZone1
(i.e., pZone0
minus pZone1
). The input zones must belong to the same Fade_2D object.
- Parameters
-
pZone0 | Pointer to the first Zone2 object. |
pZone1 | Pointer to the second Zone2 object. |
- Returns
- A pointer to a new Zone2 object representing the difference. If the result is empty, the function returns
NULL
. Be sure to check this case before proceeding.
◆ zoneIntersection()
CLASS_DECLSPEC Zone2* GEOM_FADE2D::zoneIntersection |
( |
Zone2 * |
pZone0, |
|
|
Zone2 * |
pZone1 |
|
) |
| |
Left: pZone0, Middle: pZone1, Right: intersection
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 input zones. The input zones must belong to the same Fade_2D object.
- Parameters
-
pZone0 | Pointer to the first Zone2 object. |
pZone1 | Pointer to the second Zone2 object. |
- Returns
- A pointer to a new Zone2 object representing the intersection. If the result is empty, the function returns
NULL
. Be sure to check for this case before proceeding.
◆ zoneSymmetricDifference()
CLASS_DECLSPEC Zone2* GEOM_FADE2D::zoneSymmetricDifference |
( |
Zone2 * |
pZone0, |
|
|
Zone2 * |
pZone1 |
|
) |
| |
Left: pZone0, Middle: pZone1, Right: symmetric difference
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
-
pZone0 | Pointer to the first Zone2 object. |
pZone1 | Pointer to the second Zone2 object. |
- Returns
- A pointer to the resulting Zone2 object representing the symmetric difference. If the result is empty, the function returns
NULL
. Be sure to check for this case before proceeding.
◆ zoneUnion()
CLASS_DECLSPEC Zone2* GEOM_FADE2D::zoneUnion |
( |
Zone2 * |
pZone0, |
|
|
Zone2 * |
pZone1 |
|
) |
| |
Left: pZone0, Middle: pZone1, Right: union
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. Both input zones must belong to the same Fade_2D object.
- Parameters
-
pZone0 | Pointer to the first Zone2 object. |
pZone1 | Pointer to the second Zone2 object. |
- Returns
- A pointer to the resulting Zone2 object representing the union of the two zones.