public abstract class AbstractInertiaProperty extends Object implements IInertiaProperty
IInertiaProperty
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.
|
protected void |
setInertiaMatrix(Matrix3D inertiaMatrix)
Sets the inertia matrix
|
protected 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 IPartProperty
public Vector3D getMassCenter()
getMassCenter
in interface IInertiaProperty
public double getMass()
getMass
in interface IInertiaProperty
public Matrix3D getInertiaMatrix()
getInertiaMatrix
in interface IInertiaProperty
protected void setMassCenter(Vector3D massCenter)
massCenter
- the new mass centerprotected void setInertiaMatrix(Matrix3D inertiaMatrix)
inertiaMatrix
- the new inetria matrixpublic MassProperty getMassProperty()
getMassProperty
in interface IInertiaProperty
Copyright © 2019 CNES. All Rights Reserved.