Table of Contents

Method GetLength

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetLength(GeoEllipse2)

Gets the length of the rim of an ellipse: its perimeter.

public static double GetLength(GeoEllipse2 ellipse)

Parameters

ellipse GeoEllipse2

The ellipse.

Returns

double

The perimeter. An ellipse 300 by 100 measures 1 336.489 round; one 100 by 100 measures 200π, as the circle does.

Remarks

Worked out by the arithmetic-geometric mean of Gauss and Kummer, which converges to the last digit in a handful of rounds however thin the ellipse is.