JNISpice
version 2.0.0

spice.basic
Class EllipsoidLineNearPoint

java.lang.Object
  extended by 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
EllipsoidLineNearPoint(Ellipsoid ellipsoid, Line line)
          Construct an EllipsoidLineNearPoint from an Ellipsoid and a Line.
 
Method Summary
 double getDistance()
          Fetch the distance between the Ellipsoid and the Line.
 Vector3 getNearPoint()
          Fetch the nearest point on the Ellipsoid to the Line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EllipsoidLineNearPoint

public EllipsoidLineNearPoint(Ellipsoid ellipsoid,
                              Line line)
                       throws SpiceException
Construct an EllipsoidLineNearPoint from an Ellipsoid and a Line.

Throws:
SpiceException
Method Detail

getNearPoint

public Vector3 getNearPoint()
Fetch the nearest point on the Ellipsoid to the Line.


getDistance

public double getDistance()
Fetch the distance between the Ellipsoid and the Line.


JNISpice
version 2.0.0

JNISpice Alpha Test Version 2.0.0 28-JAN-2017 (NJB)