|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.navigation.DefaultPosition
A trivial implementation of a PositionControl. This object is settable, but makes no changes to the set position coordinate.
Cartesian,
Polar| Constructor Summary | |
DefaultPosition()
Default Constructor |
|
| Method Summary | |
void |
enablePosition(boolean enabled)
Ignored |
void |
get(Cartesian cartesian)
Return the position in the argument object. |
Polar |
getPolar()
Return the position in a Polar coordinate object. |
void |
set(Polar polar)
Set the position coordinate |
void |
updatePosition(double timeValue)
Ignored |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultPosition()
| Method Detail |
public void get(Cartesian cartesian)
get in interface Positioncartesian - The Cartesian coordinate object to initialize with
the current position.public Polar getPolar()
Polar coordinate object.
getPolar in interface PositionPolar coordinate object.public void enablePosition(boolean enabled)
enablePosition in interface Positionenabled - true if the object should update it's
positioning data in response to update( ) calls,
false if the object should NOT update it's positioning
data in response to update( ) calls.public void updatePosition(double timeValue)
updatePosition in interface PositiontimeValue - the time value for which to calculate the positionpublic void set(Polar polar)
set in interface PositionControlpolar - The position coordinate
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||