All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.media.j3d.PickSegment

java.lang.Object
   |
   +----javax.media.j3d.PickShape
           |
           +----javax.media.j3d.PickSegment

public final class PickSegment
extends PickShape
PickRay is an encapsulation of ray for passing to the pick methods in BranchGroup and Locale

See Also:
pickAll, pickAll

Constructor Index

 o PickSegment()
Create a PickSegment.
 o PickSegment(Point3d, Point3d)
Create a line segment from start point to end point

Method Index

 o get(Point3d, Point3d)
Get the line segment
 o set(Point3d, Point3d)
Set the line segment from start point to end point

Constructors

 o PickSegment
 public PickSegment()
Create a PickSegment. The start and end of the segment are initialised to (0,0,0)

 o PickSegment
 public PickSegment(Point3d start,
                    Point3d end)
Create a line segment from start point to end point

Methods

 o set
 public void set(Point3d start,
                 Point3d end)
Set the line segment from start point to end point

 o get
 public void get(Point3d start,
                 Point3d end)
Get the line segment


All Packages  Class Hierarchy  This Package  Previous  Next  Index