UtilityEx.Triangulate (IList<Point2D>, IList<IList<Point2D>>, Boolean, out Point2D(), out IndexTriangle()) Method
Public Shared Function Triangulate( _
ByVal outerLoop As IList(Of Point2D), _
ByVal innerLoops As IList(Of IList(Of Point2D)), _
ByVal checkDir As Boolean, _
ByRef vertices As Point2D(), _
ByRef triangles As IndexTriangle() _
) As Boolean
This language is not supported or no code example is available.
Parameters
Outer contour
A list of inner contours, can be null/Nothing.
- checkDir
- bool
When true, the contour orientation is fixed automatically.
- vertices
- Point2D[]
The resulting triangulation 2D vertices
- triangles
- IndexTriangle[]
The resulting triangulation triangles
Return Value
boolTrue if the operation succeeds, false otherwise.