Class SpacecraftParameters

java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.odm.SpacecraftParameters
All Implemented Interfaces:
Data, Section

public class SpacecraftParameters extends CommentsContainer implements Data
Container for spacecraft parameters.

Beware that the Orekit getters and setters all rely on SI units. The parsers and writers take care of converting these SI units into CCSDS mandatory units. The Unit class provides useful fromSi and toSI methods in case the callers already use CCSDS units instead of the API SI units. The general-purpose Unit class (without an 's') and the CCSDS-specific Units class (with an 's') also provide some predefined units. These predefined units and the fromSi and toSI conversion methods are indeed what the parsers and writers use for the conversions.

Since:
6.1
Author:
sports
  • Constructor Details

    • SpacecraftParameters

      public SpacecraftParameters()
      Create an empty state data set.
  • 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
      Overrides:
      validate in class CommentsContainer
      Parameters:
      version - format version
    • getMass

      public double getMass()
      Get the spacecraft mass.
      Returns:
      the spacecraft mass
    • setMass

      public void setMass(double mass)
      Set the spacecraft mass.
      Parameters:
      mass - the spacecraft mass to be set
    • getSolarRadArea

      public double getSolarRadArea()
      Get the solar radiation pressure area.
      Returns:
      the solar radiation pressure area
    • setSolarRadArea

      public void setSolarRadArea(double solarRadArea)
      Set the solar radiation pressure area.
      Parameters:
      solarRadArea - the area to be set
    • getSolarRadCoeff

      public double getSolarRadCoeff()
      Get the solar radiation pressure coefficient.
      Returns:
      the solar radiation pressure coefficient
    • setSolarRadCoeff

      public void setSolarRadCoeff(double solarRadCoeff)
      Get the solar radiation pressure coefficient.
      Parameters:
      solarRadCoeff - the coefficient to be set
    • getDragArea

      public double getDragArea()
      Get the drag area.
      Returns:
      the drag area
    • setDragArea

      public void setDragArea(double dragArea)
      Set the drag area.
      Parameters:
      dragArea - the area to be set
    • getDragCoeff

      public double getDragCoeff()
      Get the drag coefficient.
      Returns:
      the drag coefficient
    • setDragCoeff

      public void setDragCoeff(double dragCoeff)
      Set the drag coefficient.
      Parameters:
      dragCoeff - the coefficient to be set