|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.PickShape
javax.media.j3d.PickCone
javax.media.j3d.PickConeRay
public final class PickConeRay
PickConeRay is an infinite cone ray pick shape. It can be used as an argument to the picking methods in BranchGroup and Locale.
BranchGroup.pickAll(javax.media.j3d.PickShape)
,
Locale.pickAll(javax.media.j3d.PickShape)
Constructor Summary | |
---|---|
PickConeRay()
Constructs an empty PickConeRay. |
|
PickConeRay(Point3d origin,
Vector3d direction,
double spreadAngle)
Constructs an infinite cone pick shape from the specified parameters. |
Method Summary | |
---|---|
void |
set(Point3d origin,
Vector3d direction,
double spreadAngle)
Sets the parameters of this PickCone to the specified values. |
Methods inherited from class javax.media.j3d.PickCone |
---|
getDirection, getOrigin, getSpreadAngle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PickConeRay()
PI/64
radians.
public PickConeRay(Point3d origin, Vector3d direction, double spreadAngle)
origin
- the origin of the conedirection
- the direction of the conespreadAngle
- the spread angle of the cone in radiansMethod Detail |
---|
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 radians
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |