Class OmmData

java.lang.Object
org.orekit.files.ccsds.ndm.odm.omm.OmmData
All Implemented Interfaces:
Data, Section

public class OmmData extends Object implements Data
Container for Orbit Mean-elements Message data.
Since:
11.0
Author:
Luc Maisonobe
  • Constructor Details

    • OmmData

      public OmmData(KeplerianElements keplerianElementsBlock, SpacecraftParameters spacecraftParameters, OmmTle tleBlock, CartesianCovariance covarianceBlock, UserDefined userDefinedBlock, double mass)
      Simple constructor.
      Parameters:
      keplerianElementsBlock - Keplerian elements logical block
      spacecraftParameters - 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 block
      mass - mass (always defined, even if there is no spacecraftParameters block
  • 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.

      Specified by:
      validate in interface Section
      Parameters:
      version - format version
    • getKeplerianElementsBlock

      public KeplerianElements getKeplerianElementsBlock()
      Get the Keplerian elements logical block.
      Returns:
      Keplerian elements block
    • getSpacecraftParametersBlock

      public Optional<SpacecraftParameters> getSpacecraftParametersBlock()
      Get the spacecraft parameters logical block.
      Returns:
      spacecraft parameters block
    • getTLEBlock

      public Optional<OmmTle> getTLEBlock()
      Get the TLE logical block.
      Returns:
      TLE block
    • getCovarianceBlock

      public Optional<CartesianCovariance> getCovarianceBlock()
      Get the covariance matrix logical block.
      Returns:
      covariance matrix block
    • getUserDefinedBlock

      public Optional<UserDefined> getUserDefinedBlock()
      Get the user defined parameters logical block.
      Returns:
      user defined parameters block
    • getMass

      public double getMass()
      Get the mass.
      Returns:
      mass