Package org.orekit.utils
Class OccultationEngine
java.lang.Object
org.orekit.utils.OccultationEngine
Computation engine for occultation events.
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContainer for occultation angles.static classContainer for occultation angles. -
Constructor Summary
ConstructorsConstructorDescriptionOccultationEngine(ExtendedPositionProvider occulted, double occultedRadius, OneAxisEllipsoid occulting) Build a new occultation engine. -
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
OccultationEngine.FieldOccultationAngles<T> angles(FieldSpacecraftState<T> state) Compute the occultation angles as seen from a spacecraft.angles(SpacecraftState state) Compute the occultation angles as seen from a spacecraft.Getter for the occulted body.doubleGetter for the occultedRadius.Getter for the occulting body.
-
Constructor Details
-
OccultationEngine
public OccultationEngine(ExtendedPositionProvider occulted, double occultedRadius, OneAxisEllipsoid occulting) Build a new occultation engine.- Parameters:
occulted- the body to be occultedoccultedRadius- the radius of the body to be occulted (m)occulting- the occulting body
-
-
Method Details
-
getOcculting
Getter for the occulting body.- Returns:
- the occulting body
-
getOcculted
Getter for the occulted body.- Returns:
- the occulted body
-
getOccultedRadius
public double getOccultedRadius()Getter for the occultedRadius.- Returns:
- the occultedRadius
-
angles
Compute the occultation angles as seen from a spacecraft.- Parameters:
state- the current state information: date, kinematics, attitude- Returns:
- occultation angles
-
angles
public <T extends CalculusFieldElement<T>> OccultationEngine.FieldOccultationAngles<T> angles(FieldSpacecraftState<T> state) Compute the occultation angles as seen from a spacecraft.- Type Parameters:
T- the type of the field elements- Parameters:
state- the current state information: date, kinematics, attitude- Returns:
- occultation angles
-