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 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