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
ellipseGeoEllipse3pointGeoPoint3
Returns
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
ellipseGeoEllipse3The ellipse.
pointGeoPoint3The point; it does not have to lie on the rim, nor on the plane.
toleranceToleranceThe 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.