Class iicm.utils3d.Ray
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class iicm.utils3d.Ray
java.lang.Object
   |
   +----iicm.utils3d.Ray
  -  public class Ray
  -  extends Object
Ray - definition of a ray for picking purposes.
Copyright (c) 1997 IICM
   
  -   direction_ direction_
-  
  
-   far_ far_
-  
  
-   near_ near_
-  
  
-   start_ start_
-  
   
  -   Ray(float, float, float, float, float, float, float, float) Ray(float, float, float, float, float, float, float, float)
-  create a ray, given by start coordinates, direction, and near/far ranges
  
-   Ray(float[], float[], float, float) Ray(float[], float[], float, float)
-  create a ray, given by start point, direction vector, and near/far picking ranges
  
-   Ray(Vec3f, Vec3f, float, float) Ray(Vec3f, Vec3f, float, float)
-  create a ray (as above).
   
  -   at(float) at(float)
-  tell where the ray is at a specific value of t.
  
-   toString() toString()
-  string rep (for debugging)
   
 start_
start_
  public Vec3f start_
 direction_
direction_
  public Vec3f direction_
 near_
near_
  public float near_
 far_
far_
  public float far_
   
 Ray
Ray
  public Ray(float start[],
             float direction[],
             float near,
             float far)
  -  create a ray, given by start point, direction vector, and near/far picking ranges
 Ray
Ray
  public Ray(Vec3f start,
             Vec3f direction,
             float near,
             float far)
  -  create a ray (as above). Vec3f references taken over by Ray class
 Ray
Ray
  public Ray(float sx,
             float sy,
             float sz,
             float dx,
             float dy,
             float dz,
             float near,
             float far)
  -  create a ray, given by start coordinates, direction, and near/far ranges
   
 at
at
  public Vec3f at(float t)
  -  tell where the ray is at a specific value of t.
ray equation: start + t * direction
  
    -  See Also:
    
-  rayat
  
 
 toString
toString
  public String toString()
  -  string rep (for debugging)
  
    -  Overrides:
    
-  toString in class Object
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index