avrora.sim.radio.freespace
Class Position
java.lang.Object
avrora.sim.radio.freespace.Position
- public class Position
- extends java.lang.Object
Represents a three dim. position
Field Summary |
java.lang.String |
nodeName
|
int |
x
|
int |
y
|
int |
z
|
Constructor Summary |
Position(int x,
int y,
int z)
new position |
Position(java.lang.String name,
int x,
int y,
int z)
new position, including node name |
Method Summary |
java.lang.String |
getNodeName()
get node name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public final int x
y
public final int y
z
public final int z
nodeName
public final java.lang.String nodeName
Position
public Position(int x,
int y,
int z)
- new position
- Parameters:
x
- y
- z
-
Position
public Position(java.lang.String name,
int x,
int y,
int z)
- new position, including node name
- Parameters:
name
- node namex
- y
- z
-
getNodeName
public java.lang.String getNodeName()
- get node name
- Returns:
- node name