|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
public abstract class AbstractInertiaProperty
This class is the abstract class for all inertia properties : those properties can provide the inertia matrix and mass center of the part. All of them shall extend it to assure they have the same "PropertyType"
IInertiaProperty
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 partMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |