Table of Contents

Method GetDistanceAtPoint

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetDistanceAtPoint(GeoEllipse3, GeoPoint3)

Gets the length along the rim of an ellipse in space from the end of its major axis to the point of the rim nearest a point, using the default tolerance.

public static double GetDistanceAtPoint(GeoEllipse3 ellipse, GeoPoint3 point)

Parameters

ellipse GeoEllipse3
point GeoPoint3

Returns

double

GetDistanceAtPoint(GeoEllipse3, GeoPoint3, Tolerance)

Gets the length along the rim of an ellipse in space from the end of its major axis to the point of the rim nearest a point, within a tolerance.

public static double GetDistanceAtPoint(GeoEllipse3 ellipse, GeoPoint3 point, Tolerance tolerance)

Parameters

ellipse GeoEllipse3

The ellipse.

point GeoPoint3

The point; it does not have to lie on the rim, nor on the plane.

tolerance Tolerance

The tolerance: a point whose foot lies within its vector tolerance of the centre is read at the centre, as a circle's is.

Returns

double

The length, from nought up to the perimeter; a quarter of it for a point at the centre or above it.