Fade2D Documentation pages v2.07
Delaunay Features
GEOM_FADE2D::CompPolygon Struct Reference

Connected component with boundary- and hole polygons. More...

#include <Zone2.h>

Public Member Functions

 CompPolygon (const CompPolygon &other)
CompPolygonoperator= (const CompPolygon &other)

Public Attributes

std::vector< Triangle2 * > * pvCC
 One connected component of triangles (connection is meant along edges, not just vertices)
std::vector< Edge2 > * pvOuterPolygon
 Sorted outer polygon.
std::vector< std::vector< Edge2 > > * pvvHolePolygons
 Sorted hole polygons.

Detailed Description

This helper struct holds the triangles that form a connected component as well as the outer boundary polygon and inner hole polygons, if any. Edges are represented by a triangle and by an index. They are always counterclockwise oriented around their triangle. Thus the outer polygon is also counterclockwise oriented while the hole polygons are clockwise.

The documentation for this struct was generated from the following file: