Property | Type | Description | |
---|---|---|---|
_holes | List |
||
_last | |||
_points | List |
||
_steinerPoints | List |
||
_triangles | List |
Method | Description | |
---|---|---|
AddHole ( |
Add a hole to the polygon.
|
|
AddPoint ( |
Adds a point after the last in the polygon.
|
|
AddPoints ( IEnumerable |
Inserts list (after last point in polygon?)
|
|
AddSteinerPoint ( TriangulationPoint point ) : void | ||
AddSteinerPoints ( List |
||
AddTriangle ( |
||
AddTriangles ( IEnumerable |
||
ClearSteinerPoints ( ) : void | ||
ClearTriangles ( ) : void | ||
InsertPointAfter ( |
Inserts newPoint after point.
|
|
Polygon ( ) : System | ||
Polygon ( IEnumerable |
Create a polygon from a list of at least 3 points with no duplicates.
|
|
Polygon ( IList |
Create a polygon from a list of at least 3 points with no duplicates.
|
|
PrepareTriangulation ( TriangulationContext tcx ) : void |
Creates constraints and populates the context with points
|
|
RemovePoint ( |
Removes a point from the polygon.
|
public AddHole ( |
||
poly | A subtraction polygon fully contained inside this polygon. | |
return | void |
public AddPoint ( |
||
p | The point to add | |
return | void |
public AddSteinerPoint ( TriangulationPoint point ) : void | ||
point | TriangulationPoint | |
return | void |
public AddSteinerPoints ( List |
||
points | List |
|
return | void |
public AddTriangle ( |
||
t | ||
return | void |
public AddTriangles ( IEnumerable |
||
list | IEnumerable |
|
return | void |
public InsertPointAfter ( |
||
point | The point to insert after in the polygon | |
newPoint | The point to insert into the polygon | |
return | void |
public Polygon ( IEnumerable |
||
points | IEnumerable |
A list of unique points. |
return | System |
public Polygon ( IList |
||
points | IList |
A list of unique points |
return | System |
public PrepareTriangulation ( TriangulationContext tcx ) : void | ||
tcx | TriangulationContext | The context |
return | void |
protected PolygonPoint,Poly2Tri.Triangulation.Polygon _last | ||
return |