Table of Contents

Method IsDegenerate

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsDegenerate()

Checks whether the triangle has no area, using the default tolerance.

public bool IsDegenerate()

Returns

bool

IsDegenerate(Tolerance)

Checks whether the triangle has no area, within a tolerance.

public bool IsDegenerate(Tolerance tolerance)

Parameters

tolerance Tolerance

Returns

bool

Remarks

The test is on the area vector rather than on the area, so a sliver whose vertices are far apart but almost collinear is caught by the same threshold that catches three coincident points.