 |
Triangulator(Vector2, Boolean) Constructor |
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.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic Triangulator(
Vector2[] points,
bool isYAxisUp
)
Parameters
- points Vector2
- list of points that define the polygon that need to be triangulated.
- isYAxisUp Boolean
- Optional Boolean that specifies if Y axis is pointing up (true by default). This affects the value of IsClockwise property.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.Triangulator.#ctor(System.Numerics.Vector2[],System.Boolean)"]
See Also