Class Inertia
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.CommonPhysicalProperties
-
- org.orekit.files.ccsds.ndm.adm.apm.Inertia
-
- All Implemented Interfaces:
Section
public class Inertia extends CommonPhysicalProperties
Inertia.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description Inertia()Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrameFacadegetFrame()Get frame in which inertia is specified.RealMatrixgetInertiaMatrix()Get the inertia matrix.voidsetFrame(FrameFacade frame)Set frame in which inertia is specified.voidsetInertiaMatrixEntry(int j, int k, double entry)Set an entry in the inertia matrix.voidvalidate(double version)Check is all mandatory entries have been initialized.-
Methods inherited from class org.orekit.files.ccsds.ndm.CommonPhysicalProperties
getMaxRcs, getMinRcs, getOebAreaAlongIntermediate, getOebAreaAlongMax, getOebAreaAlongMin, getOebIntermediate, getOebMax, getOebMin, getOebParentFrame, getOebParentFrameEpoch, getOebQ, getRcs, getReflectance, getVmAbsolute, getVmApparent, getVmApparentMax, getVmApparentMin, setMaxRcs, setMinRcs, setOebAreaAlongIntermediate, setOebAreaAlongMax, setOebAreaAlongMin, setOebIntermediate, setOebMax, setOebMin, setOebParentFrame, setOebParentFrameEpoch, setOebQ, setRcs, setReflectance, setVmAbsolute, setVmApparent, setVmApparentMax, setVmApparentMin
-
Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
-
-
-
-
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 classCommonPhysicalProperties- Parameters:
version- format version
-
setFrame
public void setFrame(FrameFacade frame)
Set frame in which inertia is specified.- Parameters:
frame- frame in which inertia is specified
-
getFrame
public FrameFacade getFrame()
Get frame in which inertia is specified.- Returns:
- frame in which inertia is specified
-
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
-
-