public final class PickConeSegment extends PickCone
BranchGroup.pickAll(org.jogamp.java3d.PickShape)
,
Locale.pickAll(org.jogamp.java3d.PickShape)
Constructor and Description |
---|
PickConeSegment()
Constructs an empty PickConeSegment.
|
PickConeSegment(org.jogamp.vecmath.Point3d origin,
org.jogamp.vecmath.Point3d end,
double spreadAngle)
Constructs a finite cone pick shape from the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
getEnd(org.jogamp.vecmath.Point3d end)
Gets the end point of this PickConeSegment.
|
void |
set(org.jogamp.vecmath.Point3d origin,
org.jogamp.vecmath.Point3d end,
double spreadAngle)
Sets the parameters of this PickCone to the specified values.
|
getDirection, getOrigin, getSpreadAngle
public PickConeSegment()
PI/64
radians.public PickConeSegment(org.jogamp.vecmath.Point3d origin, org.jogamp.vecmath.Point3d end, double spreadAngle)
origin
- the origin of the coneend
- the end of the cone along the direction vectorspreadAngle
- the spread angle of the cone in radianspublic void set(org.jogamp.vecmath.Point3d origin, org.jogamp.vecmath.Point3d end, double spreadAngle)
origin
- the origin of the coneend
- the end of the conespreadAngle
- the spread angle of the cone in radianspublic void getEnd(org.jogamp.vecmath.Point3d end)
end
- the Point3d object into which the end point
will be copied.