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 GeoPolygon2 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
- GeoPolygon2
A polygon inscribed in the circle.
Exceptions
- ArgumentOutOfRangeException
Thrown when the tolerance is negative or not a number.