|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.lancs.relate.trigger.Location
public class Location
Location of a trackable, defined by x, y and z coordinates.
| Constructor Summary | |
|---|---|
Location(double x,
double y,
double z)
Create a new location with an x, y and z coordinate. |
|
| Method Summary | |
|---|---|
double |
getX()
Returns the x-coordinate. |
double |
getY()
Returns the y-coordinate. |
double |
getZ()
Returns the z-coordinate. |
java.lang.String |
print()
Prints the x, y and z coordinate of this location. |
void |
setX(double x)
Sets the x-coordinate. |
void |
setY(double y)
Sets the y-coordinate. |
void |
setZ(double z)
Sets the z-coordinate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Location(double x,
double y,
double z)
x - x-coordinatey - y-coordinatez - z-coordinate| Method Detail |
|---|
public double getX()
public void setX(double x)
x - x-coordinatepublic double getY()
public void setY(double y)
y - -coordinatepublic double getZ()
public void setZ(double z)
z - z-coordinatepublic java.lang.String print()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||