de.jreality.tools
Class FaceDragEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.jreality.tools.FaceDragEvent
All Implemented Interfaces:
Serializable

public class FaceDragEvent
extends EventObject

See Also:
Serialized Form

Constructor Summary
FaceDragEvent(IndexedFaceSet faceSet, int index, double[] translation, double[] position)
           
 
Method Summary
 int[] getFaceIndices()
           
 double[][] getFaceVertices()
           
 int getIndex()
           
 IndexedFaceSet getIndexedFaceSet()
           
 double[] getPosition()
           
 double[] getTranslation()
           
 double getX()
          The x-coordinate of this event's translation.
 double getY()
          The y-coordinate of this event's translation.
 double getZ()
          The z-coordinate of this event's translation.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaceDragEvent

public FaceDragEvent(IndexedFaceSet faceSet,
                     int index,
                     double[] translation,
                     double[] position)
Method Detail

getX

public double getX()
The x-coordinate of this event's translation.


getY

public double getY()
The y-coordinate of this event's translation.


getZ

public double getZ()
The z-coordinate of this event's translation.


getTranslation

public double[] getTranslation()

getPosition

public double[] getPosition()

getIndex

public int getIndex()

getFaceIndices

public int[] getFaceIndices()

getFaceVertices

public double[][] getFaceVertices()

getIndexedFaceSet

public IndexedFaceSet getIndexedFaceSet()