|
GeoSoft API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object GTransformer
World-to-device transformation object.
Method Summary | |
double[] |
deviceToWorld(int[] device)
Convert a device coordinate to world. |
double[] |
deviceToWorld(int x,
int y)
Convert a device coordinate to world. |
int[] |
worldToDevice(double[] world)
Convert a world coordinate to device. |
int[] |
worldToDevice(double wx,
double wy)
Convert a world coordinate to device. |
int[] |
worldToDevice(double wx,
double wy,
double wz)
Convert a world coordinate to device. |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int[] worldToDevice(double wx, double wy, double wz)
wx
- X of world coordinate to convertwy
- Y of world coordinate to convert.wz
- Z of world coordinate to convert.
public int[] worldToDevice(double wx, double wy)
wx
- X of world coordinate to convertwy
- Y of world coordinate to convert.
public int[] worldToDevice(double[] world)
world
- World coordinate to convert [x,y,z].
public double[] deviceToWorld(int x, int y)
x
- X of device coordinate to convert.y
- Y of device coordinate to convert.
public double[] deviceToWorld(int[] device)
device
- Device coordinate [x,y].
|
GeoSoft API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |