|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.j3d.PickShape | +--javax.media.j3d.PickCylinder | +--javax.media.j3d.PickCylinderSegment
PickCylinderSegment is a finite cylindrical segment 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 | |
PickCylinderSegment()
Constructs an empty PickCylinderSegment. |
|
PickCylinderSegment(Point3d origin,
Point3d end,
double radius)
Constructs a finite cylindrical segment pick shape from the specified parameters. |
Method Summary | |
void |
getEnd(Point3d end)
Gets the end point of this PickCylinderSegment. |
void |
set(Point3d origin,
Point3d end,
double radius)
Sets the parameters of this PickCylinderSegment to the specified values. |
Methods inherited from class javax.media.j3d.PickCylinder |
getDirection, getOrigin, getRadius |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PickCylinderSegment()
public PickCylinderSegment(Point3d origin, Point3d end, double radius)
origin
- the origin point of the cylindrical segment.end
- the end point of the cylindrical segment.radius
- the radius of the cylindrical segment.Method Detail |
public void set(Point3d origin, Point3d end, double radius)
origin
- the origin point of the cylindrical segment.end
- the end point of the cylindrical segment.radius
- the radius of the cylindrical segment.public 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 |