|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwodka.util.LinearTransform
Performs linear transformations of 2D Koordinates.
Constructor Summary | |
LinearTransform(int aMax,
int bMax,
int w,
int h,
double kr,
int offset)
|
Method Summary | |
int |
transX(int a)
|
int |
transY(int b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinearTransform(int aMax, int bMax, int w, int h, double kr, int offset)
aMax
- World koordinates maximal x value.bMax
- World koordinates maximal y value.w
- Panel maximal x value.h
- Panel maximal y value.kr
- Percentage of border.offset
- Offset in x and y.Method Detail |
public int transX(int a)
public int transY(int b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |