This class supports a few convenient operations in addition to the requirements that the concept GeneralPolygon_2 lists.
#include <CGAL/General_polygon_2.h>
General_polygon_2<ArrTraits>::Size | |
number of edges size type.
|
Size | polygon.size () | returns the number of edges of polygon. |
void | polygon.clear () | clears polygon. | ||
void | polygon.reverse_orientation () |
reverses the orientation of the polygon.
|
bool | polygon.is_empty () | returns true if polygon is empty, and false otherwise. | ||
Orientation | polygon.orientation () |
returns the orientation of polygon.
|