| Name | Description |
---|
| Triangulator(Vector2) |
Constructor that takes positions that define the outer polygon. To add a hole call AddHole(Vector2) method.
To add multiple outer polygons and holes, use constructor that takes an array of list of points.
|
| Triangulator(IListVector2, Boolean) |
Constructor with multiple polygons (polygons are automatically classified as holes and outer polygons).
The holes are identified by the orientation of positions (clockwise or anti-clockwise) that is different from the orientation of positions in the outer polygons.
|
| Triangulator(Vector2, Boolean) |
Constructor that takes positions that define the outer polygon. To add a hole call AddHole(Vector2) method.
To add multiple outer polygons and holes, use constructor that takes an array of list of points.
|
| Triangulator(Vector2, Int32, Boolean) |
Constructor that takes positions and triangle indices that define the outer polygon.
When Triangulator is created with triangle indices, then it is not possible to add holes.
|