Click or drag to resize
AB4D logo

TriangulatorTriangulate(IListPoint, PointCollection, ListInt32) Method

Triangulate method triangulates the polygons and returns positions and triangle indices that can be used to create a 3D mesh.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static void Triangulate(
	IList<Point>[] polygons,
	out PointCollection positions,
	out List<int> triangleIndices
)

Parameters

polygons  IListPoint
array of polygon; each defined by a list of positions
positions  PointCollection
out PointCollection
triangleIndices  ListInt32
out triangleIndices as list of int values
See Also