public final class PickConeRay extends PickCone
BranchGroup.pickAll(javax.media.j3d.PickShape)
,
Locale.pickAll(javax.media.j3d.PickShape)
Constructor | 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 | Description |
---|---|---|
void |
set(javax.vecmath.Point3d origin,
javax.vecmath.Vector3d direction,
double spreadAngle) |
Sets the parameters of this PickCone to the specified values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.