Table of Contents

Method TriangulateSurface

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

TriangulateSurface(GeoEllipse2, double)

Breaks the region of an ellipse into triangles fanned from its centre, the rim cut by a chord tolerance, using the default tolerance.

public static GeoTriangle2[] TriangulateSurface(GeoEllipse2 ellipse, double chordTolerance)

Parameters

ellipse GeoEllipse2
chordTolerance double

Returns

GeoTriangle2[]

TriangulateSurface(GeoEllipse2, double, Tolerance)

Breaks the region of an ellipse into triangles fanned from its centre, the rim cut by a chord tolerance, within a tolerance.

public static GeoTriangle2[] TriangulateSurface(GeoEllipse2 ellipse, double chordTolerance, Tolerance tolerance)

Parameters

ellipse GeoEllipse2

The ellipse.

chordTolerance double

The largest gap allowed between a chord and the rim, in drawing units. Zero picks the automatic share of the minor radius.

tolerance Tolerance

The tolerance deciding what counts as no area: a minor radius no more than its point tolerance, or a triangle of none.

Returns

GeoTriangle2[]

The triangles, counter-clockwise, one for each edge of ToPolygonByChordTolerance(GeoEllipse2, double) with any area; none when the minor radius is no more than the point tolerance, as Mesh2 leaves it.