Package org.orekit.files.ccsds.ndm.odm
Class SpacecraftParameters
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.odm.SpacecraftParameters
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the drag area.doubleGet the drag coefficient.doublegetMass()Get the spacecraft mass.doubleGet the solar radiation pressure area.doubleGet the solar radiation pressure coefficient.voidsetDragArea(double dragArea) Set the drag area.voidsetDragCoeff(double dragCoeff) Set the drag coefficient.voidsetMass(double mass) Set the spacecraft mass.voidsetSolarRadArea(double solarRadArea) Set the solar radiation pressure area.voidsetSolarRadCoeff(double solarRadCoeff) Get the solar radiation pressure coefficient.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
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:
validatein interfaceSection- Overrides:
validatein classCommentsContainer- 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
-