public abstract class PickCylinder extends PickShape
| Modifier and Type | Field and Description |
|---|---|
(package private) Vector3d |
direction |
(package private) Point3d |
origin |
(package private) double |
radius |
PICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN| Constructor and Description |
|---|
PickCylinder()
Constructs an empty PickCylinder.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
public PickCylinder()
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)
static boolean pointInPolytope(BoundingPolytope ptope, double x, double y, double z)
Point3d getStartPoint()
getStartPoint in class PickShapeint getPickType()
getPickType in class PickShapeCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.