Click or drag to resize
Ab4d.SharpEngine logo

Triangulator Constructor

Overload List
 NameDescription
Public methodTriangulator(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.
Public methodTriangulator(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.
Public methodTriangulator(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.
Public methodTriangulator(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.
Top
See Also