public final class PickCylinderRay extends PickCylinder
BranchGroup.pickAll(javax.media.j3d.PickShape),
Locale.pickAll(javax.media.j3d.PickShape)direction, origin, radiusPICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN| Constructor and Description |
|---|
PickCylinderRay()
Constructs an empty PickCylinderRay.
|
PickCylinderRay(Point3d origin,
Vector3d direction,
double radius)
Constructs an infinite cylindrical ray pick shape from the specified
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
intersect(Bounds bounds,
Point4d pickPos)
Return true if shape intersect with bounds.
|
void |
set(Point3d origin,
Vector3d direction,
double radius)
Sets the parameters of this PickCylinderRay to the specified values.
|
(package private) PickShape |
transform(Transform3D t3d) |
getDirection, getOrigin, getPickType, getRadius, getStartPoint, pointInPolytopepublic PickCylinderRay()
public PickCylinderRay(Point3d origin, Vector3d direction, double radius)
origin - the origin of the cylindrical ray.direction - the direction of the cylindrical ray.radius - the radius of the cylindrical ray.public void set(Point3d origin, Vector3d direction, double radius)
origin - the origin of the cylindrical ray.direction - the direction of the cylindrical ray.radius - the radius of the cylindrical ray.final boolean intersect(Bounds bounds, Point4d pickPos)
intersect in class PickCylinderbounds - the bounds object to checkpickPos - the location of the point of intersection (not used for
method. Provided for compatibility).PickShape transform(Transform3D t3d)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.