|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.ding3d.PickShape
javax.media.ding3d.PickCone
javax.media.ding3d.PickConeSegment
public final class PickConeSegment
PickConeSegment is a finite cone segment pick shape. It can be used as an argument to the picking methods in BranchGroup and Locale.
BranchGroup.pickAll(javax.media.ding3d.PickShape),
Locale.pickAll(javax.media.ding3d.PickShape)| Constructor Summary | |
|---|---|
PickConeSegment()
Constructs an empty PickConeSegment. |
|
PickConeSegment(Point3d origin,
Point3d end,
double spreadAngle)
Constructs a finite cone pick shape from the specified parameters. |
|
| Method Summary | |
|---|---|
void |
getEnd(Point3d end)
Gets the end point of this PickConeSegment. |
void |
set(Point3d origin,
Point3d end,
double spreadAngle)
Sets the parameters of this PickCone to the specified values. |
| Methods inherited from class javax.media.ding3d.PickCone |
|---|
getDirection, getOrigin, getSpreadAngle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PickConeSegment()
PI/64 radians.
public PickConeSegment(Point3d origin,
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 radians| Method Detail |
|---|
public void set(Point3d origin,
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(Point3d end)
end - the Point3d object into which the end point
will be copied.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||