Table of Contents

Method ToPolylineByChordTolerance

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToPolylineByChordTolerance(double)

Approximates the circle as a chain that strays no further from it than a chord tolerance.

public GeoPolyline2 ToPolylineByChordTolerance(double chordTolerance)

Parameters

chordTolerance double

The largest gap allowed between a piece and the circle, in drawing units. Zero picks the automatic share of the radius.

Returns

GeoPolyline2

A chain with its first point repeated at the end.

Exceptions

ArgumentOutOfRangeException

Thrown when the tolerance is negative or not a number.