|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vigia.client.driver.Coordinates
public class Coordinates
Coordinates that represent the position of the Wiimote with respect to the infrared leds.
Field Summary | |
---|---|
private int |
x
X coordinate |
private int |
y
Y coordinate |
private float |
z
Z coordinate (distance from the infrared leds) |
Constructor Summary | |
---|---|
Coordinates(int x,
int y,
float z)
Constructor. |
Method Summary | |
---|---|
int |
getX()
Gets the x coordinate. |
int |
getY()
Gets the y coordinate. |
float |
getZ()
Gets the z coordinate. |
void |
setX(int x)
Sets the x coordinate. |
void |
setY(int y)
Sets the y coordinate. |
void |
setZ(float z)
Sets the z coordinate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int x
private int y
private float z
Constructor Detail |
---|
public Coordinates(int x, int y, float z)
x
- X coordinate.y
- Y coordinate.z
- Z coordinate.Method Detail |
---|
public int getX()
public int getY()
public float getZ()
public void setX(int x)
x
- the new coordinate x.public void setY(int y)
y
- the new coordinate y.public void setZ(float z)
z
- the new z coordinate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |