public final class PickRay extends PickShape
Constructor and Description |
---|
PickRay()
Constructs an empty PickRay.
|
PickRay(org.jogamp.vecmath.Point3d origin,
org.jogamp.vecmath.Vector3d direction)
Constructs an infinite ray pick shape from the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
get(org.jogamp.vecmath.Point3d origin,
org.jogamp.vecmath.Vector3d direction)
Retrieves the parameters from this PickRay.
|
void |
set(org.jogamp.vecmath.Point3d origin,
org.jogamp.vecmath.Vector3d direction)
Sets the parameters of this PickRay to the specified values.
|
public PickRay()
public PickRay(org.jogamp.vecmath.Point3d origin, org.jogamp.vecmath.Vector3d direction)
origin
- the origin of the ray.direction
- the direction of the ray.public void set(org.jogamp.vecmath.Point3d origin, org.jogamp.vecmath.Vector3d direction)
origin
- the origin of the ray.direction
- the direction of the ray.public void get(org.jogamp.vecmath.Point3d origin, org.jogamp.vecmath.Vector3d direction)
origin
- the Point3d object into which the origin will be copied.direction
- the Vector3d object into which the direction
will be copied.