Table of Contents

Method Triangulate

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Triangulate()

Breaks the outer boundary into triangles, ignoring the holes.

public GeoTriangle3[] Triangulate()

Returns

GeoTriangle3[]

Remarks

The holes are left out because a fan triangulation cannot express them. What this is good for is the signed sums — area, centroid, volume — where the holes are accounted for separately by triangulating each of them and subtracting.

The triangles a fan produces do not all lie inside a concave face, so this is not a surface mesh. Use TriangulateSurface() for anything that reads the triangles as material.