Click or drag to resize
AB4D logo

Triangulator(IListPoint, IListInt32, Boolean) Constructor

Constructor that takes positions and triangle indices that define the outer polygon. When Triangulator is created with triangle indices, then it is not possible to add holes.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public Triangulator(
	IList<Point> points,
	IList<int> polygonIndices,
	bool isYAxisUp = true
)

Parameters

points  IListPoint
list of points that define the polygon that need to be triangulated.
polygonIndices  IListInt32
list of indexes in the points list that define the polygon.
isYAxisUp  Boolean  (Optional)
Optional Boolean that specifies if Y axis is pointing up (true by default). This affects the value of IsClockwise property.
See Also