public final class PickConeRay extends PickCone
BranchGroup.pickAll(javax.media.j3d.PickShape),
Locale.pickAll(javax.media.j3d.PickShape)direction, origin, spreadAnglePICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN| Constructor and Description |
|---|
PickConeRay()
Constructs an empty PickConeRay.
|
PickConeRay(Point3d origin,
Vector3d direction,
double spreadAngle)
Constructs an infinite cone 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 spreadAngle)
Sets the parameters of this PickCone to the specified values.
|
(package private) PickShape |
transform(Transform3D t3d) |
getDirection, getOrigin, getPickType, getRadius, getSpreadAngle, getStartPointpublic PickConeRay()
PI/64 radians.public void set(Point3d origin, Vector3d direction, double spreadAngle)
origin - the origin of the conedirection - the direction of the conespreadAngle - the spread angle of the cone in radiansfinal boolean intersect(Bounds bounds, Point4d pickPos)
PickShape transform(Transform3D t3d)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.