net.java.joglutils.msg.misc
Class PickedPoint

java.lang.Object
  extended by net.java.joglutils.msg.misc.PrimitiveVertex
      extended by net.java.joglutils.msg.misc.PickedPoint
All Implemented Interfaces:
Cloneable

public class PickedPoint
extends PrimitiveVertex

Represents a point on a piece of geometry picked for example by a RayPickAction.


Constructor Summary
PickedPoint()
           
 
Method Summary
 Object clone()
           
 PickedPoint copy()
          Performs a "deep copy" of this PickedPoint so that it shares none of its contents with this one.
 Path getPath()
          Returns the path to the picked geometry.
 void setPath(Path path)
          Sets the path to the picked geometry.
 
Methods inherited from class net.java.joglutils.msg.misc.PrimitiveVertex
getColor, getCoord, getNormal, getTexCoord, setColor, setCoord, setNormal, setTexCoord
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickedPoint

public PickedPoint()
Method Detail

clone

public Object clone()
Overrides:
clone in class PrimitiveVertex

copy

public PickedPoint copy()
Performs a "deep copy" of this PickedPoint so that it shares none of its contents with this one.

Overrides:
copy in class PrimitiveVertex

setPath

public void setPath(Path path)
Sets the path to the picked geometry. Note that this simply retains a reference to the given Path, so the Path should be copied if it can later be changed (for example, if it the internal Path in an Action).


getPath

public Path getPath()
Returns the path to the picked geometry.