|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.navigation.OrbitInterpolator
A concrete implementation of a PositionInterpolator that calculates positions along an orbital (elliptic) path.
Alpha,
Cartesian,
OrbitalElements,
Polar| Constructor Summary | |
OrbitInterpolator(OrbitalElements elements)
Construct an instance |
|
| Method Summary | |
void |
addInterpolationListener(InterpolationListener il)
Add a listener to this interpolator |
void |
enablePosition(boolean enabled)
Set the state of the interpolator to update it's Alpha in
response to update( ) calls. |
protected void |
fireInterpolationEvent(int id)
Deliver events to the listeners |
void |
get(Cartesian cartesian)
Return the position as a Cartesian |
Alpha |
getAlpha()
Return the Alpha object |
Polar |
getPolar()
Return the positioning data in a Polar coordinate object. |
void |
removeInterpolationListener(InterpolationListener il)
Remove a listener from this interpolator |
void |
set(OrbitalElements elements)
Set the OrbitalElements of the satellite |
void |
setAlpha(Alpha alpha)
Set the Alpha object to drive the interpolator |
void |
updatePosition(double timeValue)
Process any position changes for the next simulation frame. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OrbitInterpolator(OrbitalElements elements)
elements - the OrbitalElements of the elliptic path to generate| Method Detail |
public void set(OrbitalElements elements)
OrbitalElements of the satellite
elements - the OrbitalElements of the elliptic pathpublic void setAlpha(Alpha alpha)
Alpha object to drive the interpolator
setAlpha in interface PositionInterpolatoralpha - the Alpha object to installpublic Alpha getAlpha()
Alpha object
getAlpha in interface PositionInterpolatorAlpha objectpublic void updatePosition(double timeValue)
Alpha of this interpolator
by a single increment.
updatePosition in interface PositiontimeValue - the time value is ignoredpublic void enablePosition(boolean enabled)
Alpha in
response to update( ) calls.
enablePosition in interface Positionenabled - true if the object should update it's
Alpha in response to update( ) calls,
false if the object should NOT update it's Alpha
in response to update( ) calls.public void get(Cartesian cartesian)
Cartesian
get in interface Positioncartesian - the Cartesian object to initialize with
the position calculated at the fraction value of the Alphapublic Polar getPolar()
Polar coordinate object.
getPolar in interface PositionPolar coordinate object.public void addInterpolationListener(InterpolationListener il)
addInterpolationListener in interface PositionInterpolatoril - the InterpolationListenerpublic void removeInterpolationListener(InterpolationListener il)
removeInterpolationListener in interface PositionInterpolatoril - the InterpolationListenerprotected void fireInterpolationEvent(int id)
id - the InterpolationEvent id
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||