Module JNISpice
Package spice.basic

Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • line

        private Line line
      • nearPoint

        private Vector3 nearPoint
      • dist

        private double dist
    • Constructor Detail

      • EllipsoidLineNearPoint

        public EllipsoidLineNearPoint​(Ellipsoid ellipsoid,
                                      Line line)
                               throws SpiceException
        Construct an EllipsoidLineNearPoint from an Ellipsoid and a Line.
        Parameters:
        ellipsoid - Ellipsoid
        line - 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