Class AttitudePhysicalProperties
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.adm.acm.AttitudePhysicalProperties
- All Implemented Interfaces:
Section
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the location of center of pressure.Get reference frame for center of pressure.doubleGet the drag coefficient.doubleGet the mass without propellant.Get the inertia matrix.Get reference frame for inertia.doubleGet the total mass at T₀.voidsetCenterOfPressure(Vector3D centerOfPressure) Set the location of center of pressure.voidsetCenterOfPressureReferenceFrame(FrameFacade centerOfPressureReferenceFrame) Set reference frame for center of pressure.voidsetDragCoefficient(double dragCoefficient) Set the the drag coefficient.voidsetDryMass(double dryMass) Set the mass without propellant.voidsetInertiaMatrixEntry(int j, int k, double entry) Set an entry in the inertia matrix.voidsetInertiaReferenceFrame(FrameFacade inertiaReferenceFrame) Set reference frame for inertia.voidsetWetMass(double wetMass) Set the total mass at T₀.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
-
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:
validatein interfaceSection- Overrides:
validatein classCommentsContainer- 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
Get reference frame for center of pressure.- Returns:
- reference frame for center of pressure
-
setCenterOfPressureReferenceFrame
Set reference frame for center of pressure.- Parameters:
centerOfPressureReferenceFrame- reference frame for center of pressure
-
getCenterOfPressure
Get the location of center of pressure.- Returns:
- location of center of pressure
-
setCenterOfPressure
Set the location of center of pressure.- Parameters:
centerOfPressure- location of center of pressure
-
getInertiaReferenceFrame
Get reference frame for inertia.- Returns:
- reference frame for inertia
-
setInertiaReferenceFrame
Set reference frame for inertia.- Parameters:
inertiaReferenceFrame- reference frame for inertia
-
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
-