Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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
`int` | `getX()` get x coordinate
`int` | `getY()` get y coordinate
`int` | `getZ()` get z coordinate

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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 name
  `x` -
  `y` -
  `z` -

Method Detail

### getX

    public int getX()

  get x coordinate

  Returns:
    x

### getY

    public int getY()

  get y coordinate

  Returns:
    y

### getZ

    public int getZ()

  get z coordinate

  Returns:
    z

### getNodeName

    public java.lang.String getNodeName()

  get node name

  Returns:
    node name

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD