Polygon Class |
[Missing <summary> documentation for "T:Poly2Tri.Polygon"]
public class Polygon : Triangulatable
The Polygon type exposes the following members.
| Name | Description | |
|---|---|---|
| Polygon(IEnumerablePolygonPoint) | Create a polygon from a list of at least 3 points with no duplicates. | |
| Polygon(IListPolygonPoint) | Create a polygon from a list of at least 3 points with no duplicates. | |
| Polygon(PolygonPoint) | Create a polygon from a list of at least 3 points with no duplicates. |
| Name | Description | |
|---|---|---|
| Holes | ||
| Points | ||
| Triangles | ||
| TriangulationMode |
| Name | Description | |
|---|---|---|
| AddHole | Add a hole to the polygon. | |
| AddPoint | Adds a point after the last in the polygon. | |
| AddPoints | Inserts list (after last point in polygon?) | |
| AddSteinerPoint | ||
| AddSteinerPoints | ||
| AddTriangle | ||
| AddTriangles | ||
| ClearSteinerPoints | ||
| ClearTriangles | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InsertPointAfter | Inserts newPoint after point. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Prepare | Creates constraints and populates the context with points | |
| RemovePoint | Removes a point from the polygon. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| _holes | ||
| _last | ||
| _points | ||
| _steinerPoints | ||
| _triangles |