|
| Polygon () |
| Initializes a new instance of the Polygon class.
|
|
| Polygon (int capacity) |
| Initializes a new instance of the Polygon class.
|
|
| Polygon (int capacity, bool markers) |
| Initializes a new instance of the Polygon class.
|
|
void | AddContour (IEnumerable< Vertex > points, int marker=0, bool hole=false, bool convex=false) |
|
void | AddContour (IEnumerable< Vertex > points, int marker, Point hole) |
|
Rectangle | Bounds () |
| Compute the bounds of the polygon.- Returns
- Rectangle defining an axis-aligned bounding box.
|
|
void | Add (Vertex vertex) |
| Add a vertex to the polygon.
|
|
void | Add (ISegment segment, bool insert=false) |
| Add a segment to the polygon.
|
|
void | Add (ISegment segment, int index) |
| Add a segment to the polygon.
|
|
void | Add (Contour contour, bool hole=false) |
| Add a contour to the polygon.
|
|
void | Add (Contour contour, Point hole) |
| Add a contour to the polygon.
|
|
void | AddContour (IEnumerable< Vertex > points, int marker, bool hole, bool convex) |
|
void | AddContour (IEnumerable< Vertex > points, int marker, Point hole) |
|
Rectangle | Bounds () |
| Compute the bounds of the polygon.
|
|
void | Add (Vertex vertex) |
| Add a vertex to the polygon.
|
|
void | Add (ISegment segment, bool insert=false) |
| Add a segment to the polygon.
|
|
void | Add (ISegment segment, int index) |
| Add a segment to the polygon.
|
|
void | Add (Contour contour, bool hole=false) |
| Add a contour to the polygon.
|
|
void | Add (Contour contour, Point hole) |
| Add a contour to the polygon.
|
|
|
List< Vertex > | Points [get] |
| Gets the vertices of the polygon.
|
|
List< Point > | Holes [get] |
| Gets a list of points defining the holes of the polygon.
|
|
List< RegionPointer > | Regions [get] |
| Gets a list of pointers defining the regions of the polygon.
|
|
List< ISegment > | Segments [get] |
| Gets the segments of the polygon.
|
|
bool | HasPointMarkers [get, set] |
| Gets or sets a value indicating whether the vertices have marks or not.
|
|
bool | HasSegmentMarkers [get, set] |
| Gets or sets a value indicating whether the segments have marks or not.
|
|
int | Count [get] |
|
List< Vertex > | Points [get] |
| Gets the vertices of the polygon.
|
|
List< ISegment > | Segments [get] |
| Gets the segments of the polygon.
|
|
List< Point > | Holes [get] |
| Gets a list of points defining the holes of the polygon.
|
|
List< RegionPointer > | Regions [get] |
| Gets a list of pointers defining the regions of the polygon.
|
|
bool | HasPointMarkers [get, set] |
| Gets or sets a value indicating whether the vertices have marks or not.
|
|
bool | HasSegmentMarkers [get, set] |
| Gets or sets a value indicating whether the segments have marks or not.
|
|
A polygon represented as a planar straight line graph.