|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.veriplace.client.PositionReference<T>
public class PositionReference<T extends Position>
Describes a geographic relationship to some Position.
| Constructor Summary | |
|---|---|
PositionReference(T position,
double distanceInMeters,
double heading)
|
|
| Method Summary | |
|---|---|
double |
getDistanceInMeters()
Returns the distance in meters to the position. |
double |
getHeading()
Returns the straight-line heading to the position, in degrees clockwise from due north. |
T |
getPosition()
Returns the Position (or subclass thereof) that this object
refers to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PositionReference(T position,
double distanceInMeters,
double heading)
| Method Detail |
|---|
public T getPosition()
Position (or subclass thereof) that this object
refers to.
public double getDistanceInMeters()
public double getHeading()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||