Method ToPolylineByChordTolerance
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
ToPolylineByChordTolerance(GeoEllipse3, double)
Approximates the rim of an ellipse in space as a chain that strays no further from it than a chord tolerance, its first point repeated at the end.
public static GeoPolyline3 ToPolylineByChordTolerance(GeoEllipse3 ellipse, double chordTolerance)
Parameters
ellipseGeoEllipse3The ellipse.
chordTolerancedoubleThe largest gap allowed between a piece and the rim, in drawing units. Zero picks the automatic share of the minor radius.
Returns
- GeoPolyline3
The corners of ToPolygonByChordTolerance(GeoEllipse3, double), the first repeated at the end.
Exceptions
- ArgumentOutOfRangeException
Thrown when the tolerance is negative or not a number, or needs more than 1 048 576 corners.