Class OmmData
- java.lang.Object
-
- org.orekit.files.ccsds.ndm.odm.omm.OmmData
-
-
Constructor Summary
Constructors Constructor Description OmmData(KeplerianElements keplerianElementsBlock, SpacecraftParameters spacecraftParameters, OmmTle tleBlock, CartesianCovariance covarianceBlock, UserDefined userDefinedBlock, double mass)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartesianCovariance
getCovarianceBlock()
Get the covariance matrix logical block.KeplerianElements
getKeplerianElementsBlock()
Get the Keplerian elements logical block.double
getMass()
Get the mass.SpacecraftParameters
getSpacecraftParametersBlock()
Get the spacecraft parameters logical block.OmmTle
getTLEBlock()
Get the TLE logical block.UserDefined
getUserDefinedBlock()
Get the user defined parameters logical block.void
validate(double version)
Check is all mandatory entries have been initialized.
-
-
-
Constructor Detail
-
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 nospacecraftParameters
block
-
-
Method Detail
-
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
public KeplerianElements getKeplerianElementsBlock()
Get the Keplerian elements logical block.- Returns:
- Keplerian elements block
-
getSpacecraftParametersBlock
public SpacecraftParameters getSpacecraftParametersBlock()
Get the spacecraft parameters logical block.- Returns:
- spacecraft parameters block (may be null)
-
getTLEBlock
public OmmTle getTLEBlock()
Get the TLE logical block.- Returns:
- TLE block
-
getCovarianceBlock
public CartesianCovariance getCovarianceBlock()
Get the covariance matrix logical block.- Returns:
- covariance matrix block (may be null)
-
getUserDefinedBlock
public UserDefined 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
-
-