STK Components for .NET 2020 r3

## EllipsoidEllipsoidSeparationDistance Method (Ellipsoid, Cartesian, Matrix3By3, Cartesian, Cartesian) |

If the given Ellipsoid does not intersect with this ellipsoid this method returns the minimum separation
between the surfaces of the two ellipsoids. If the ellipsoids do intersect, the resulting negative separation is the
depth that the other ellipsoid intersects into this ellipsoid (calculated as the distance between the two points on the ellipsoid
chosen in the same manner as in the non-intersecting case).

Syntax

public double EllipsoidSeparationDistance( Ellipsoid other, Cartesian centerPointsDisplacement, Matrix3By3 thisToOtherRotation, out Cartesian pointOnThisSurface, out Cartesian pointOnOtherSurface )

- other
- Type: AGI.Foundation.Geometry.ShapesEllipsoid

The method finds the separation from the calling ellipsoid and this parameter ellipsoid. - centerPointsDisplacement
- Type: AGI.Foundation.CoordinatesCartesian

The vector from the center of this ellipsoid to the center of the other ellipsoid, in the local frame of this ellipsoid. - thisToOtherRotation
- Type: AGI.Foundation.CoordinatesMatrix3By3

The rotation matrix which represents the orientation of the other ellipsoid with respect to this one, corresponding to the result of GetAxesTransformation where this is the 'from' axes and the other axes is 'to'. - pointOnThisSurface
- Type: AGI.Foundation.CoordinatesCartesian

The location on this ellipsoid's surface, in its body frame, which was determined to be the closest point to the other ellipsoid. - pointOnOtherSurface
- Type: AGI.Foundation.CoordinatesCartesian

The location on the other ellipsoid's surface, in its body frame, which was determined to be the closest point to the this ellipsoid.

The separation between the closest point of this ellipsoid and the closest point of the given ellipsoid.

See Also