| java.lang.Object javax.media.j3d.PickShape javax.media.j3d.PickCylinder
All known Subclasses: javax.media.j3d.PickCylinderSegment, javax.media.j3d.PickCylinderRay,
PickCylinder | abstract public class PickCylinder extends PickShape (Code) | | PickCylinder is the abstract base class of all cylindrical pick shapes.
since: Java 3D 1.2 |
Constructor Summary | |
public | PickCylinder() Constructs an empty PickCylinder.
The origin of the cylinder is
initialized to (0,0,0). |
direction | Vector3d direction(Code) | | |
PickCylinder | public PickCylinder()(Code) | | Constructs an empty PickCylinder.
The origin of the cylinder is
initialized to (0,0,0). The radius is initialized
to 0.
|
getDirection | public void getDirection(Vector3d direction)(Code) | | Gets the direction of this cylinder.
Parameters: direction - the Vector3d object into which the directionwill be copied |
getOrigin | public void getOrigin(Point3d origin)(Code) | | Gets the origin point of this cylinder object.
Parameters: origin - the Point3d object into which the originpoint will be copied |
getPickType | int getPickType()(Code) | | |
getRadius | public double getRadius()(Code) | | Gets the radius of this cylinder object
the radius in radians |
getStartPoint | Point3d getStartPoint()(Code) | | |
intersect | abstract boolean intersect(Bounds bounds, Point4d pickPos)(Code) | | Return true if shape intersect with bounds.
The point of intersection is stored in pickPos.
|
|
|