Method GetDistanceAtPoint
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetDistanceAtPoint(GeoEllipse2, GeoPoint2)
Gets the length along the rim of an ellipse from the end of its major axis, counter-clockwise, to the point of the rim nearest a point.
public static double GetDistanceAtPoint(GeoEllipse2 ellipse, GeoPoint2 point)
Parameters
ellipseGeoEllipse2The ellipse.
pointGeoPoint2The point; it does not have to lie on the rim.
Returns
- double
The length, from nought up to the perimeter.