|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.navigation.ShadowSibling
A Position implementation that provides shadow coordinates for a sibling orbital body. Used for following (shadowing) a sibling orbiter - such as following another planet in the solar system from the Earth.
Cartesian,
Polar,
Length| Constructor Summary | |
ShadowSibling(KineticBody source,
KineticBody 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 ShadowSibling(KineticBody source,
KineticBody target,
Length distance)
source - the body from which to calculate the shadowed positiontarget - the body to shadowdistance - the fixed distance from the source to place the shadow position. If distance
is null, then the actual distance to the target 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 | ||||||||||