- java.lang.Object
-
- spice.basic.EllipsoidLineNearPoint
-
public class EllipsoidLineNearPoint extends java.lang.Object
Class EllipsoidLineNearPoint represents the result of an Ellipsoid-Line near point computation.Version 1.0.0 28-AUG-2009 (NJB)
-
-
Constructor Summary
Constructors Constructor Description EllipsoidLineNearPoint(Ellipsoid ellipsoid, Line line)
Construct an EllipsoidLineNearPoint from an Ellipsoid and a Line.
-
Method Summary
Modifier and Type Method Description double
getDistance()
Fetch the distance between the Ellipsoid and the Line.Vector3
getNearPoint()
Fetch the nearest point on the Ellipsoid to the Line.
-
-
-
Constructor Detail
-
EllipsoidLineNearPoint
public EllipsoidLineNearPoint(Ellipsoid ellipsoid, Line line) throws SpiceException
Construct an EllipsoidLineNearPoint from an Ellipsoid and a Line.- Parameters:
ellipsoid
- Ellipsoidline
- Line- Throws:
SpiceException
- exeption
-
-
Method Detail
-
getNearPoint
public Vector3 getNearPoint()
Fetch the nearest point on the Ellipsoid to the Line.- Returns:
- Vector3
-
getDistance
public double getDistance()
Fetch the distance between the Ellipsoid and the Line.- Returns:
- double
-
-