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 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.