net.java.joglutils.msg.misc
Class PickedPoint
java.lang.Object
net.java.joglutils.msg.misc.PrimitiveVertex
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.
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. |
PickedPoint
public PickedPoint()
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.