Table of Contents

Method ToPolygonBySpacing

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToPolygonBySpacing(double)

Approximates the rim as a polygon whose corners are evenly spread along it, no two further apart along the rim than a spacing.

public GeoPolygon3 ToPolygonBySpacing(double spacing)

Parameters

spacing double

The largest length allowed along the rim between two corners.

Returns

GeoPolygon3

A polygon inscribed in the ellipse.

Exceptions

ArgumentOutOfRangeException

Thrown when the spacing is not a positive number.