|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.navigation.ShadowChild
A Position implementation that provides shadow coordinates for a child orbital body. Used for following (shadowing) a child orbiter - such as a satellite in Earth orbit.
Cartesian,
Polar,
Length,
OrbitalBody| Constructor Summary | |
ShadowChild(OrbitalBody target,
Length distance)
Constructor |
|
| Method Summary | |
void |
enablePosition(boolean enabled)
Set the state of the object to produce updated positioning data. |
void |
get(Cartesian cartesian)
Return the positioning data in the argument object. |
Polar |
getPolar()
Return the positioning data in a Polar coordinate object. |
void |
updatePosition(double julianDay)
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 ShadowChild(OrbitalBody target,
Length distance)
target - the child orbital body to shadowdistance - the fixed distance from the world to place the shadow position. If distance
is null, then the actual distance to the object will be used.| Method Detail |
public void updatePosition(double julianDay)
updatePosition in interface PositionjulianDay - the Julian day for which to calculate the positionpublic void enablePosition(boolean enabled)
true.
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 get(Cartesian cartesian)
get in interface Positioncartesian - the Cartesian coordinate object to initialize with
the current positioning data.public Polar getPolar()
Polar coordinate object.
getPolar in interface PositionPolar coordinate object.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||