public final class PickBounds extends PickShape
| Modifier and Type | Field and Description |
|---|---|
(package private) Bounds |
bounds |
PICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN| Constructor and Description |
|---|
PickBounds()
Constructs an empty PickBounds.
|
PickBounds(Bounds boundsObject)
Constructs a PickBounds from the specified bounds object.
|
| Modifier and Type | Method and Description |
|---|---|
Bounds |
get()
Gets the bounds object from this PickBounds.
|
(package private) int |
getPickType() |
(package private) Point3d |
getStartPoint() |
(package private) boolean |
intersect(Bounds bounds,
Point4d pickPos)
Return true if shape intersect with bounds.
|
void |
set(Bounds boundsObject)
Sets the bounds object of this PickBounds to the specified object.
|
(package private) PickShape |
transform(Transform3D t3d) |
Bounds bounds
public PickBounds()
public PickBounds(Bounds boundsObject)
boundsObject - the bounds of this PickBounds.public void set(Bounds boundsObject)
boundsObject - the new bounds of this PickBounds.public Bounds get()
final boolean intersect(Bounds bounds, Point4d pickPos)
PickShape transform(Transform3D t3d)
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.