public final class PickConeRay extends PickCone
BranchGroup.pickAll(javax.media.j3d.PickShape)
,
Locale.pickAll(javax.media.j3d.PickShape)
Constructor and Description |
---|
PickConeRay()
Constructs an empty PickConeRay.
|
PickConeRay(javax.vecmath.Point3d origin,
javax.vecmath.Vector3d direction,
double spreadAngle)
Constructs an infinite cone pick shape from the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
set(javax.vecmath.Point3d origin,
javax.vecmath.Vector3d direction,
double spreadAngle)
Sets the parameters of this PickCone to the specified values.
|
getDirection, getOrigin, getSpreadAngle
public PickConeRay()
PI/64
radians.public PickConeRay(javax.vecmath.Point3d origin, javax.vecmath.Vector3d direction, double spreadAngle)
origin
- the origin of the conedirection
- the direction of the conespreadAngle
- the spread angle of the cone in radianspublic void set(javax.vecmath.Point3d origin, javax.vecmath.Vector3d direction, double spreadAngle)
origin
- the origin of the conedirection
- the direction of the conespreadAngle
- the spread angle of the cone in radiansCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.