Class OmmData
java.lang.Object
org.orekit.files.ccsds.ndm.odm.omm.OmmData
Container for Orbit Mean-elements Message data.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionOmmData(KeplerianElements keplerianElementsBlock, SpacecraftParameters spacecraftParameters, OmmTle tleBlock, CartesianCovariance covarianceBlock, UserDefined userDefinedBlock, double mass) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the covariance matrix logical block.Get the Keplerian elements logical block.doublegetMass()Get the mass.Get the spacecraft parameters logical block.Get the TLE logical block.Get the user defined parameters logical block.voidvalidate(double version) Check is all mandatory entries have been initialized.
-
Constructor Details
-
OmmData
public OmmData(KeplerianElements keplerianElementsBlock, SpacecraftParameters spacecraftParameters, OmmTle tleBlock, CartesianCovariance covarianceBlock, UserDefined userDefinedBlock, double mass) Simple constructor.- Parameters:
keplerianElementsBlock- Keplerian elements logical blockspacecraftParameters- spacecraft parameters logical block (may be null)tleBlock- TLE logical block (may be null)covarianceBlock- covariance matrix logical block (may be null)userDefinedBlock- 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.
-
getKeplerianElementsBlock
Get the Keplerian elements logical block.- Returns:
- Keplerian elements block
-
getSpacecraftParametersBlock
Get the spacecraft parameters logical block.- Returns:
- spacecraft parameters block (may be null)
-
getTLEBlock
Get the TLE logical block.- Returns:
- TLE block
-
getCovarianceBlock
Get the covariance matrix logical block.- Returns:
- covariance matrix block (may be null)
-
getUserDefinedBlock
Get the user defined parameters logical block.- Returns:
- user defined parameters block (may be null)
-
getMass
public double getMass()Get the mass.- Returns:
- mass
-