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
-
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
Unitclass provides usefulfromSiandtoSImethods in case the callers already use CCSDS units instead of the API SI units. The general-purposeUnitclass (without an 's') and the CCSDS-specificUnitsclass (with an 's') also provide some predefined units. These predefined units and thefromSiandtoSIconversion methods are indeed what the parsers and writers use for the conversions.- Since:
- 6.1
- Author:
- sports
-
-
Constructor Summary
Constructors Constructor Description SpacecraftParameters()Create an empty state data set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetDragArea()Get the drag area.doublegetDragCoeff()Get the drag coefficient.doublegetMass()Get the spacecraft mass.doublegetSolarRadArea()Get the solar radiation pressure area.doublegetSolarRadCoeff()Get 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
-
-
-
-
Method Detail
-
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
-
-