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_
-
-
far_
-
-
near_
-
-
start_
-
-
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)
- create a ray, given by start point, direction vector, and near/far picking ranges
-
Ray(Vec3f, Vec3f, float, float)
- create a ray (as above).
-
at(float)
- tell where the ray is at a specific value of t.
-
toString()
- string rep (for debugging)
start_
public Vec3f start_
direction_
public Vec3f direction_
near_
public float near_
far_
public float far_
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
public Ray(Vec3f start,
Vec3f direction,
float near,
float far)
- create a ray (as above). Vec3f references taken over by Ray class
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
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
public String toString()
- string rep (for debugging)
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index