public double Intersections( Cartesian position, UnitCartesian direction )
Public Function Intersections ( position As Cartesian, direction As UnitCartesian ) As Double()
public: array<double>^ Intersections( Cartesian position, UnitCartesian direction )
member Intersections : position : Cartesian * direction : UnitCartesian -> float
The length of the array of distances indicates how many points of intersection exist:
In the case of two intersections, the distances are ordered from most negative (i.e. "furthest behind") to most positive (i.e. "furthest before"). If the two distances are equal, the points of intersection indicate a single point of tangency to the ellipsoid.