JNISpice
version 2.0.0

spice.basic
Class RayEllipsoidIntercept

java.lang.Object
  extended by spice.basic.RayEllipsoidIntercept

public class RayEllipsoidIntercept
extends java.lang.Object

Class RayEllipsoidIntercept represents the result of a Ray-Ellipsoid intercept computation.

This is a low-level, "pure geometric" class having functionality analogous to that provided by the CSPICE routine surfpt_c. SPICE application developers should consider using the high-level class SurfaceIntercept instead.

Version 1.0.0 03-DEC-2009 (NJB)


Constructor Summary
RayEllipsoidIntercept(Ray ray, Ellipsoid ellipsoid)
          Construct a ray-ellipsoid intercept from a Ray and an Ellipsoid.
 
Method Summary
 Vector3 getIntercept()
          Fetch the intercept.
 boolean wasFound()
          Fetch the found flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RayEllipsoidIntercept

public RayEllipsoidIntercept(Ray ray,
                             Ellipsoid ellipsoid)
                      throws SpiceException
Construct a ray-ellipsoid intercept from a Ray and an Ellipsoid.

Throws:
SpiceException
Method Detail

wasFound

public boolean wasFound()
Fetch the found flag.


getIntercept

public Vector3 getIntercept()
                     throws PointNotFoundException
Fetch the intercept. This method should be called only if the intercept was found, as indicated by the method wasFound().

Throws:
PointNotFoundException

JNISpice
version 2.0.0

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