Drawing3d documented Class Library

xyArray.Triangulation Method

Calculates a Triangulation (also known as tesselation) and returns the triangles in a TriangleList

[Visual Basic]
Public Sub Triangulation()
public TriangleList Triangulation();

Return Value

A triangleList, which holds the Triangles


TriangleList T=poly.Triangulation();
for (int i = 0; i < T.Count; i++)
    TR.A = poly[T[i].A];
    TR.B = poly[T[i].B];
    TR.C = poly[T[i].C];

See Also

xyArray Class | Drawing3d.Math Namespace