Table of Contents

Method ToPolylineBySpacing

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToPolylineBySpacing(double)

Approximates the circle as a chain whose points are no further apart than a spacing.

public GeoPolyline2 ToPolylineBySpacing(double spacing)

Parameters

spacing double

The largest distance allowed between two points, measured along the circumference.

Returns

GeoPolyline2

A chain with its first point repeated at the end.

Exceptions

ArgumentOutOfRangeException

Thrown when the spacing is not a positive number.