Module JNISpice
Package spice.basic

Class RayPlaneIntercept


  • public class RayPlaneIntercept
    extends java.lang.Object
    Class RayPlaneIntercept represents the result of a ray-plane intercept computation.

    Version 1.0.0 08-DEC-2009 (NJB)

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int INFINITY  
      private int nxpts  
      private Vector3 xpt  
    • Constructor Summary

      Constructors 
      Constructor Description
      RayPlaneIntercept​(Ray ray, Plane plane)
      Construct a ray-plane intercept from a Ray and a Plane.
    • Method Summary

      Modifier and Type Method Description
      Vector3 getIntercept()
      Fetch the intercept.This method should be called only if the intercept count is non-zero.
      int getInterceptCount()
      Fetch the intercept count.
      • Methods inherited from class java.lang.Object

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

      • RayPlaneIntercept

        public RayPlaneIntercept​(Ray ray,
                                 Plane plane)
                          throws SpiceException
        Construct a ray-plane intercept from a Ray and a Plane.
        Parameters:
        ray - Ray
        plane - Plane
        Throws:
        SpiceException - exception
    • Method Detail

      • getInterceptCount

        public int getInterceptCount()
        Fetch the intercept count.
        Returns:
        int