|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiicm.utils3d.Ray
public class Ray
Ray - definition of a ray for picking purposes. Copyright (c) 1997 IICM
| Field Summary | |
|---|---|
Vec3f |
direction_
|
float |
far_
|
float |
near_
|
Vec3f |
start_
|
| Constructor Summary | |
|---|---|
Ray(float[] start,
float[] direction,
float near,
float far)
create a ray, given by start point, direction vector, and near/far picking ranges |
|
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 |
|
Ray(Vec3f start,
Vec3f direction,
float near,
float far)
create a ray (as above). |
|
| Method Summary | |
|---|---|
Vec3f |
at(float t)
tell where the ray is at a specific value of t. |
java.lang.String |
toString()
string rep (for debugging) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Vec3f start_
public Vec3f direction_
public float near_
public float far_
| Constructor Detail |
|---|
public Ray(float[] start,
float[] direction,
float near,
float far)
public Ray(Vec3f start,
Vec3f direction,
float near,
float far)
public Ray(float sx,
float sy,
float sz,
float dx,
float dy,
float dz,
float near,
float far)
| Method Detail |
|---|
public Vec3f at(float t)
Vec3f.rayat(float[], float, float[])public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||