EllipsoidEllipsoidSeparationDistance Method (Ellipsoid, Cartesian, Matrix3By3)
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).
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
public double EllipsoidSeparationDistance(
Public Function EllipsoidSeparationDistance (
other As Ellipsoid,
centerPointsDisplacement As Cartesian,
thisToOtherRotation As Matrix3By3
) As Double
member EllipsoidSeparationDistance :
other : Ellipsoid *
centerPointsDisplacement : Cartesian *
thisToOtherRotation : Matrix3By3 -> float
- Type: AGI.Foundation.Geometry.ShapesEllipsoid
The method finds the separation from the calling ellipsoid and this parameter ellipsoid.
- 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.
- 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'.
The separation between the closest point of this ellipsoid and the closest point of the given ellipsoid.