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