|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
de.jreality.tools.FaceDragEvent
public class FaceDragEvent
Constructor Summary | |
---|---|
FaceDragEvent(IndexedFaceSet faceSet,
int index,
double[] translation)
|
Method Summary | |
---|---|
int[] |
getFaceIndices()
BE CAREFUL: this method uses the face index when the drag started. |
double[][] |
getFaceVertices()
BE CAREFUL: this method uses the face index when the drag started. |
int |
getIndex()
|
IndexedFaceSet |
getIndexedFaceSet()
|
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 |
---|
public FaceDragEvent(IndexedFaceSet faceSet, int index, double[] translation)
Method Detail |
---|
public double getX()
public double getY()
public double getZ()
public double[] getTranslation()
public int getIndex()
public int[] getFaceIndices()
ArrayIndexOutOfBoundsException
public double[][] getFaceVertices()
ArrayIndexOutOfBoundsException
public IndexedFaceSet getIndexedFaceSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |