| java.lang.Object javax.media.j3d.PickShape javax.media.j3d.PickRay
Constructor Summary | |
public | PickRay() Constructs an empty PickRay. | public | PickRay(Point3d origin, Vector3d direction) Constructs an infinite ray pick shape from the specified
parameters. |
Method Summary | |
public void | get(Point3d origin, Vector3d direction) Retrieves the parameters from this PickRay. | int | getPickType() | Point3d | getStartPoint() | final boolean | intersect(Bounds bounds, Point4d pickPos) Return true if shape intersect with bounds. | public void | set(Point3d origin, Vector3d direction) Sets the parameters of this PickRay to the specified values. | PickShape | transform(Transform3D t3d) |
direction | Vector3d direction(Code) | | |
PickRay | public PickRay()(Code) | | Constructs an empty PickRay. The origin and direction of the
ray are initialized to (0,0,0).
|
PickRay | public PickRay(Point3d origin, Vector3d direction)(Code) | | Constructs an infinite ray pick shape from the specified
parameters.
Parameters: origin - the origin of the ray. Parameters: direction - the direction of the ray. |
get | public void get(Point3d origin, Vector3d direction)(Code) | | Retrieves the parameters from this PickRay.
Parameters: origin - the Point3d object into which the origin will be copied. Parameters: direction - the Vector3d object into which the directionwill be copied. |
getPickType | int getPickType()(Code) | | |
getStartPoint | Point3d getStartPoint()(Code) | | |
intersect | final boolean intersect(Bounds bounds, Point4d pickPos)(Code) | | Return true if shape intersect with bounds.
The point of intersection is stored in pickPos.
|
set | public void set(Point3d origin, Vector3d direction)(Code) | | Sets the parameters of this PickRay to the specified values.
Parameters: origin - the origin of the ray. Parameters: direction - the direction of the ray. |
|
|