Method IsDegenerate
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
IsDegenerate()
Checks whether the triangle has no area, using the default tolerance.
public bool IsDegenerate()
Returns
IsDegenerate(Tolerance)
Checks whether the triangle has no area, within a tolerance.
public bool IsDegenerate(Tolerance tolerance)
Parameters
toleranceTolerance
Returns
Remarks
The test is on twice the area, the cross product of two edges, against the vector tolerance, as IsDegenerate(Tolerance) tests its area vector. A sliver whose vertices are far apart but almost in a row is caught by the same threshold as three coincident points.