javax.media.j3d
Class PickPoint

java.lang.Object
  extended by javax.media.j3d.PickShape
      extended by javax.media.j3d.PickPoint

Deprecated. As of Java 3D version 1.4, use PickBounds with a BoundingSphere that has a small radius.

public final class PickPoint
extends PickShape

PickPoint is a pick shape defined as a single point. It can be used as an argument to the picking methods in BranchGroup and Locale.

See Also:
BranchGroup.pickAll(javax.media.j3d.PickShape), Locale.pickAll(javax.media.j3d.PickShape), PickBounds

Field Summary
(package private)  Point3d location
          Deprecated.  
 
Fields inherited from class javax.media.j3d.PickShape
PICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN
 
Constructor Summary
PickPoint()
          Deprecated. Constructs a PickPoint using a default point.
PickPoint(Point3d location)
          Deprecated. Constructs a PickPoint from the specified parameter.
 
Method Summary
 void get(Point3d location)
          Deprecated. Gets the position of this PickPoint.
(package private)  int getPickType()
          Deprecated.  
(package private)  Point3d getStartPoint()
          Deprecated.  
(package private)  boolean intersect(Bounds bounds, Point4d pickPos)
          Deprecated. Return true if shape intersect with bounds.
 void set(Point3d location)
          Deprecated. Sets the position of this PickPoint to the specified value.
(package private)  PickShape transform(Transform3D t3d)
          Deprecated.  
 
Methods inherited from class javax.media.j3d.PickShape
distance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

Point3d location
Deprecated. 
Constructor Detail

PickPoint

public PickPoint()
Deprecated. 
Constructs a PickPoint using a default point. The point is initialized to (0,0,0).


PickPoint

public PickPoint(Point3d location)
Deprecated. 
Constructs a PickPoint from the specified parameter.

Parameters:
location - the pick point.
Method Detail

set

public void set(Point3d location)
Deprecated. 
Sets the position of this PickPoint to the specified value.

Parameters:
location - the new pick point.

get

public void get(Point3d location)
Deprecated. 
Gets the position of this PickPoint.

Parameters:
location - returns the current pick point.

intersect

final boolean intersect(Bounds bounds,
                        Point4d pickPos)
Deprecated. 
Return true if shape intersect with bounds. The point of intersection is stored in pickPos.

Specified by:
intersect in class PickShape

transform

PickShape transform(Transform3D t3d)
Deprecated. 
Specified by:
transform in class PickShape

getStartPoint

Point3d getStartPoint()
Deprecated. 
Specified by:
getStartPoint in class PickShape

getPickType

int getPickType()
Deprecated. 
Specified by:
getPickType in class PickShape


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.