25 #include "VertexPair2.h"
27 #if GEOM_PSEUDO3D==GEOM_TRUE
28 namespace GEOM_FADE25D {
29 #elif GEOM_PSEUDO3D==GEOM_FALSE
30 namespace GEOM_FADE2D {
32 #error GEOM_PSEUDO3D is not defined
134 void setGeometrySortedPairs(std::vector<VertexPair2>& vGeometrySortedCW);
136 void getPointerSortedPairs(std::vector<VertexPair2>& vFromCW_sorted)
const;
The PolygonTree class represents nested polygon layers as a hierarchical structure.
Definition: PolygonTree.h:47
int getLayer() const
Retrieves the layer number of this PolygonTree node.
void getSegments_regionOriented(std::vector< Segment2 > &vSegments) const
Retrieves region-oriented segments.
void getChildrenRecursive(std::vector< PolygonTree * > &vChildNodesRec)
Retrieves all child nodes recursively.
~PolygonTree()
Destructor for the PolygonTree class.
PolygonTree(int layer_)
Constructs a PolygonTree object.
void getSegments_CW(std::vector< Segment2 > &vSegments) const
Retrieves clockwise ordered and oriented segments.
std::vector< PolygonTree * > & getChildren()
Retrieves the child nodes of this PolygonTree node.
void getSegments_CCW(std::vector< Segment2 > &vSegments) const
Retrieves counter-clockwise ordered and oriented segments.