|
|||||||||
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.PickCylinder
public abstract class PickCylinder
PickCylinder is the abstract base class of all cylindrical pick shapes.
Field Summary | |
---|---|
(package private) Vector3d |
direction
|
(package private) Point3d |
origin
|
(package private) double |
radius
|
Fields inherited from class javax.media.j3d.PickShape |
---|
PICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN |
Constructor Summary | |
---|---|
PickCylinder()
Constructs an empty PickCylinder. |
Method Summary | |
---|---|
void |
getDirection(Vector3d direction)
Gets the direction of this cylinder. |
void |
getOrigin(Point3d origin)
Gets the origin point of this cylinder object. |
(package private) int |
getPickType()
|
double |
getRadius()
Gets the radius of this cylinder object |
(package private) Point3d |
getStartPoint()
|
(package private) abstract boolean |
intersect(Bounds bounds,
Point4d pickPos)
Return true if shape intersect with bounds. |
(package private) static boolean |
pointInPolytope(BoundingPolytope ptope,
double x,
double y,
double z)
|
Methods inherited from class javax.media.j3d.PickShape |
---|
distance, transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Point3d origin
Vector3d direction
double radius
Constructor Detail |
---|
public PickCylinder()
Method Detail |
---|
public void getOrigin(Point3d origin)
origin
- the Point3d object into which the origin
point will be copiedpublic double getRadius()
public void getDirection(Vector3d direction)
direction
- the Vector3d object into which the direction
will be copiedabstract boolean intersect(Bounds bounds, Point4d pickPos)
intersect
in class PickShape
static boolean pointInPolytope(BoundingPolytope ptope, double x, double y, double z)
Point3d getStartPoint()
getStartPoint
in class PickShape
int getPickType()
getPickType
in class PickShape
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |