EllipsoidPointSeparationDistance Method (Cartesian, Cartesian) |
If the given
Cartesian does not lie within this ellipsoid this method returns the minimum separation
between 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.2.419.0 (24.2.419.0)
Syntax public double PointSeparationDistance(
Cartesian centerToPoint,
out Cartesian pointOnSurface
)
Public Function PointSeparationDistance (
centerToPoint As Cartesian,
<OutAttribute> ByRef pointOnSurface As Cartesian
) As Double
public:
double PointSeparationDistance(
Cartesian centerToPoint,
[OutAttribute] Cartesian% pointOnSurface
)
member PointSeparationDistance :
centerToPoint : Cartesian *
pointOnSurface : Cartesian byref -> float
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:
DoubleThe minimum separation between the surface of this ellipsoid and the given point.
See Also