Class OpmData
java.lang.Object
org.orekit.files.ccsds.ndm.odm.opm.OpmData
Container for Orbit Parameter Message data.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionOpmData(StateVector stateVectorBlock, KeplerianElements keplerianElementsBlock, SpacecraftParameters spacecraftParametersBlock, CartesianCovariance covarianceBlock, List<Maneuver> maneuverBlocks, UserDefined userDefinedBlock, double mass) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the covariance matrix logical block.Get the Keplerian elements logical block.getManeuver(int index) Get a maneuver.Get a list of all maneuvers.doublegetMass()Get the mass.intGet the number of maneuvers present in the APM.Get the spacecraft parameters logical block.Get the state vector logical block.Get the user defined parameters logical block.booleanGet boolean testing whether the APM contains at least one maneuver.voidvalidate(double version) Check is all mandatory entries have been initialized.
-
Constructor Details
-
OpmData
public OpmData(StateVector stateVectorBlock, KeplerianElements keplerianElementsBlock, SpacecraftParameters spacecraftParametersBlock, CartesianCovariance covarianceBlock, List<Maneuver> maneuverBlocks, UserDefined userDefinedBlock, double mass) Simple constructor.- Parameters:
stateVectorBlock- state vector logical blockkeplerianElementsBlock- Keplerian elements logical block (may be null)spacecraftParametersBlock- spacecraft parameters logical block (may be null)covarianceBlock- covariance matrix logical block (may be null)maneuverBlocks- maneuvers block listuserDefinedBlock- user-defined logical blockmass- mass (always defined, even if there is nospacecraftParametersblock
-
-
Method Details
-
validate
public void validate(double version) Check is all mandatory entries have been initialized.This method should throw an exception if some mandatory entries are missing or not compatible with version number.
-
getStateVectorBlock
Get the state vector logical block.- Returns:
- state vector block
-
getKeplerianElementsBlock
Get the Keplerian elements logical block.- Returns:
- Keplerian elements block (may be null)
-
getSpacecraftParametersBlock
Get the spacecraft parameters logical block.- Returns:
- spacecraft parameters block (may be null)
-
getCovarianceBlock
Get the covariance matrix logical block.- Returns:
- covariance matrix block (may be null)
-
getMass
public double getMass()Get the mass.- Returns:
- mass
-
getNbManeuvers
public int getNbManeuvers()Get the number of maneuvers present in the APM.- Returns:
- the number of maneuvers
-
getManeuvers
Get a list of all maneuvers.- Returns:
- unmodifiable list of all maneuvers.
-
getManeuver
Get a maneuver.- Parameters:
index- maneuver index, counting from 0- Returns:
- maneuver
-
hasManeuvers
public boolean hasManeuvers()Get boolean testing whether the APM contains at least one maneuver.- Returns:
- true if APM contains at least one maneuver false otherwise
-
getUserDefinedBlock
Get the user defined parameters logical block.- Returns:
- user defined parameters block (may be null)
-