|
|||||||||
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.PickCone
public abstract class PickCone
PickCone is the abstract base class of all cone pick shapes.
Field Summary | |
---|---|
(package private) Vector3d |
direction
|
(package private) Point3d |
origin
|
(package private) double |
spreadAngle
|
Fields inherited from class javax.media.j3d.PickShape |
---|
PICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN |
Constructor Summary | |
---|---|
PickCone()
Constructs an empty PickCone. |
Method Summary | |
---|---|
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. |
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 spreadAngle
Constructor Detail |
---|
public PickCone()
PI/64
.
Method Detail |
---|
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 cone
abstract boolean intersect(Bounds bounds, Point4d pickPos)
intersect
in class PickShape
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 |