public final class PickConeRay extends PickCone
BranchGroup.pickAll(org.jogamp.java3d.PickShape)
,
Locale.pickAll(org.jogamp.java3d.PickShape)
Constructor and Description |
---|
PickConeRay()
Constructs an empty PickConeRay.
|
PickConeRay(org.jogamp.vecmath.Point3d origin,
org.jogamp.vecmath.Vector3d direction,
double spreadAngle)
Constructs an infinite cone pick shape from the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
set(org.jogamp.vecmath.Point3d origin,
org.jogamp.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(org.jogamp.vecmath.Point3d origin, org.jogamp.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(org.jogamp.vecmath.Point3d origin, org.jogamp.vecmath.Vector3d direction, double spreadAngle)
origin
- the origin of the conedirection
- the direction of the conespreadAngle
- the spread angle of the cone in radians