public abstract class PickCone extends PickShape
| Modifier and Type | Field and Description |
|---|---|
(package private) Vector3d |
direction |
(package private) Point3d |
origin |
(package private) double |
spreadAngle |
PICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN| Constructor and Description |
|---|
PickCone()
Constructs an empty PickCone.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getDirection(Vector3d direction)
Gets the direction of this PickCone.
|
void |
getOrigin(Point3d origin)
Gets the origin of this PickCone.
|
(package private) int |
getPickType() |
(package private) double |
getRadius(double distance)
Gets the radius of this PickCone at the specified distance.
|
double |
getSpreadAngle()
Gets the spread angle of this PickCone.
|
(package private) Point3d |
getStartPoint() |
(package private) abstract boolean |
intersect(Bounds bounds,
Point4d pickPos)
Return true if shape intersect with bounds.
|
public PickCone()
PI/64.public void getOrigin(Point3d origin)
origin - the Point3d object into which the origin will be copied.public void getDirection(Vector3d direction)
direction - the Vector3d object into which the direction
will be copied.public double getSpreadAngle()
double getRadius(double distance)
distance - the distance from the origin at which we want
the radius of the coneabstract boolean intersect(Bounds bounds, Point4d pickPos)
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.