public abstract class AbstractInertiaProperty extends Object implements IInertiaProperty
IInertiaProperty,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInertiaProperty(Vector3D massCenter,
Matrix3D inertiaMatrix,
MassProperty mass)
Constructor for the abstract inertia property.
|
protected |
AbstractInertiaProperty(Vector3D massCenter,
Matrix3D inertiaMatrix,
Vector3D inertiaReferencePoint,
MassProperty mass)
Constructor for the abstract inertia property.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix3D |
getInertiaMatrix() |
double |
getMass() |
Vector3D |
getMassCenter() |
MassProperty |
getMassProperty() |
PropertyType |
getType()
Get the type of the property.
|
void |
setInertiaMatrix(Matrix3D inertiaMatrix)
Sets the inertia matrix
|
void |
setMassCenter(Vector3D massCenter)
Sets the mass center.
|
protected AbstractInertiaProperty(Vector3D massCenter, Matrix3D inertiaMatrix, MassProperty mass)
massCenter - the mass centerinertiaMatrix - the inertia matrixmass - the mass property associated to this partprotected AbstractInertiaProperty(Vector3D massCenter, Matrix3D inertiaMatrix, Vector3D inertiaReferencePoint, MassProperty mass)
massCenter - the mass centerinertiaMatrix - the inertia matrixinertiaReferencePoint - the point with respect to the inertia matrix is expressed (in the part frame)mass - the mass property associated to this partpublic PropertyType getType()
getType in interface IPartPropertypublic Vector3D getMassCenter()
getMassCenter in interface IInertiaPropertypublic double getMass()
getMass in interface IInertiaPropertypublic Matrix3D getInertiaMatrix()
getInertiaMatrix in interface IInertiaPropertypublic void setMassCenter(Vector3D massCenter)
massCenter - the new mass centerpublic void setInertiaMatrix(Matrix3D inertiaMatrix)
inertiaMatrix - the new inetria matrixpublic MassProperty getMassProperty()
getMassProperty in interface IInertiaPropertyCopyright © 2021 CNES. All rights reserved.