public class Inertia extends CommonPhysicalProperties
Constructor and Description |
---|
Inertia()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
FrameFacade |
getFrame()
Get frame in which inertia is specified.
|
org.hipparchus.linear.RealMatrix |
getInertiaMatrix()
Get the inertia matrix.
|
void |
setFrame(FrameFacade frame)
Set frame in which inertia is specified.
|
void |
setInertiaMatrixEntry(int j,
int k,
double entry)
Set an entry in the inertia matrix.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
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
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
public void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate
in interface Section
validate
in class CommonPhysicalProperties
version
- format versionpublic void setFrame(FrameFacade frame)
frame
- frame in which inertia is specifiedpublic FrameFacade getFrame()
public org.hipparchus.linear.RealMatrix getInertiaMatrix()
public void setInertiaMatrixEntry(int j, int k, double entry)
Both I(j, k) and I(k, j) are set.
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 entryCopyright © 2002-2023 CS GROUP. All rights reserved.