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.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AttitudePhysicalProperties(AbsoluteDate epochT0)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3DgetCenterOfPressure()Get the location of center of pressure.FrameFacadegetCenterOfPressureReferenceFrame()Get reference frame for center of pressure.doublegetDragCoefficient()Get the drag coefficient.doublegetDryMass()Get the mass without propellant.RealMatrixgetInertiaMatrix()Get the inertia matrix.FrameFacadegetInertiaReferenceFrame()Get reference frame for inertia.doublegetWetMass()Get 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
-
-
-
-
Constructor Detail
-
AttitudePhysicalProperties
public AttitudePhysicalProperties(AbsoluteDate epochT0)
Simple constructor.- Parameters:
epochT0- T0 epoch from file metadata
-
-
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
-
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
-
-