Method ToPolygonByChordTolerance
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
ToPolygonByChordTolerance(double)
Approximates the circle as a polygon that strays no further from it than a chord tolerance.
public GeoPolygon3 ToPolygonByChordTolerance(double chordTolerance)
Parameters
chordTolerancedoubleThe largest gap allowed between an edge and the circle, in drawing units. Zero picks the automatic share of the radius.
Returns
- GeoPolygon3
A polygon inscribed in the circle, sharing its orientation.
Exceptions
- ArgumentOutOfRangeException
Thrown when the tolerance is negative or not a number.