|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Coordinate2D
Representation of a real 2D location (using float value).
Method Summary | |
---|---|
float |
getX()
Get current horizontal location. |
float |
getY()
Get current vertical location. |
void |
setLocation(float x,
float y)
Set new location. |
void |
translate(float vx,
float vy)
Translate location using specified vector. |
Method Detail |
---|
void translate(float vx, float vy)
vx
- horizontal vector.vy
- vertical vector.void setLocation(float x, float y)
x
- horizontal location.y
- vertical location.float getX()
float getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |