Click or drag to resize

EllipsoidPointSeparationDistance Method (Cartesian, Cartesian)

If the given Cartesian does not lie within this ellipsoid this method returns the minimum separation between the this ellipsoid on the given point. If the point is within the ellipsoid do intersect, the resulting negative separation is the depth that the point lies within this ellipsoid's surface.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public double PointSeparationDistance(
	Cartesian centerToPoint,
	out Cartesian pointOnSurface
)

Parameters

centerToPoint
Type: AGI.Foundation.CoordinatesCartesian
The vector from the center of this ellipsoid to the point, in the local frame of this ellipsoid.
pointOnSurface
Type: AGI.Foundation.CoordinatesCartesian
The location on this ellipsoid's surface, in its body frame, which was determined to be closest to the given point.

Return Value

Type: Double
The minimum separation between the surface of this ellipsoid and the given point.
See Also