 |
Triangulator(Vector2) 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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic Triangulator(
Vector2[] points
)
Parameters
- points Vector2
- list of points that define the polygon that need to be triangulated.
See Also