Class AttitudePhysicalProperties

java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.adm.acm.AttitudePhysicalProperties
All Implemented Interfaces:
Section

public class AttitudePhysicalProperties extends CommentsContainer
Spacecraft physical properties.

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:
12.0
Author:
Luc Maisonobe
  • Constructor Details

    • AttitudePhysicalProperties

      public AttitudePhysicalProperties()
      Simple constructor.
  • 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
    • getDragCoefficient

      public double getDragCoefficient()
      Get the drag coefficient.
      Returns:
      the drag coefficient
    • setDragCoefficient

      public void setDragCoefficient(double dragCoefficient)
      Set the the drag coefficient.
      Parameters:
      dragCoefficient - the drag coefficient
    • getWetMass

      public double getWetMass()
      Get the total mass at T₀.
      Returns:
      total mass at T₀
    • setWetMass

      public void setWetMass(double wetMass)
      Set the total mass at T₀.
      Parameters:
      wetMass - total mass at T₀
    • getDryMass

      public double getDryMass()
      Get the mass without propellant.
      Returns:
      mass without propellant
    • setDryMass

      public void setDryMass(double dryMass)
      Set the mass without propellant.
      Parameters:
      dryMass - mass without propellant
    • getCenterOfPressureReferenceFrame

      public FrameFacade getCenterOfPressureReferenceFrame()
      Get reference frame for center of pressure.
      Returns:
      reference frame for center of pressure
    • setCenterOfPressureReferenceFrame

      public void setCenterOfPressureReferenceFrame(FrameFacade centerOfPressureReferenceFrame)
      Set reference frame for center of pressure.
      Parameters:
      centerOfPressureReferenceFrame - reference frame for center of pressure
    • getCenterOfPressure

      public Vector3D getCenterOfPressure()
      Get the location of center of pressure.
      Returns:
      location of center of pressure
    • setCenterOfPressure

      public void setCenterOfPressure(Vector3D centerOfPressure)
      Set the location of center of pressure.
      Parameters:
      centerOfPressure - location of center of pressure
    • getInertiaReferenceFrame

      public FrameFacade getInertiaReferenceFrame()
      Get reference frame for inertia.
      Returns:
      reference frame for inertia
    • setInertiaReferenceFrame

      public void setInertiaReferenceFrame(FrameFacade inertiaReferenceFrame)
      Set reference frame for inertia.
      Parameters:
      inertiaReferenceFrame - reference frame for inertia
    • getInertiaMatrix

      public RealMatrix getInertiaMatrix()
      Get the inertia matrix.
      Returns:
      the inertia matrix
    • setInertiaMatrixEntry

      public void setInertiaMatrixEntry(int j, int k, double entry)
      Set an entry in the inertia matrix.

      Both I(j, k) and I(k, j) are set.

      Parameters:
      j - row index (must be between 0 and 3 (inclusive)
      k - column index (must be between 0 and 3 (inclusive)
      entry - value of the matrix entry