Table of Contents

Method TriangulateSurface

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TriangulateSurface()

Breaks the rectangle into two triangles, along the diagonal from its lower left corner, using the default tolerance.

public GeoTriangle2[] TriangulateSurface()

Returns

GeoTriangle2[]

The two triangles, counter-clockwise; none when the rectangle has no area.

TriangulateSurface(Tolerance)

Breaks the rectangle into two triangles, along the diagonal from its lower left corner, within a tolerance.

public GeoTriangle2[] TriangulateSurface(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance deciding what counts as no area.

Returns

GeoTriangle2[]

The two triangles, counter-clockwise; none when the rectangle has no area within the tolerance.