|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
fr.cnes.sirius.patrius.assembly.properties.InertiaSimpleProperty
public class InertiaSimpleProperty
This class is a simple inertia property that can be added to a part. The mass center and inertia matrix are simply given by the user in the constructor. They also can be set later.
IInertiaProperty| Constructor Summary | |
|---|---|
InertiaSimpleProperty(Vector3D massCenter,
Matrix3D inertiaMatrix,
MassProperty mass)
Constructor for the simple inertia property |
|
InertiaSimpleProperty(Vector3D massCenter,
Matrix3D inertiaMatrix,
Vector3D inertiaReferencePoint,
MassProperty mass)
Constructor for the simple inertia property; the inertia matrix is expressed with respect to a point that can be different from the mass center. |
|
| Method Summary | |
|---|---|
void |
setInertiaMatrix(Matrix3D inertiaMatrix)
Sets the inertia matrix at the mass center of the part. |
void |
setMassCenter(Vector3D massCenter)
Sets the mass center. |
| Methods inherited from class fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty |
|---|
getInertiaMatrix, getMass, getMassCenter, getMassProperty, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InertiaSimpleProperty(Vector3D massCenter,
Matrix3D inertiaMatrix,
MassProperty mass)
massCenter - the mass centerinertiaMatrix - the inertia matrix expressed at the mass center of the part.mass - the mass property associated to this part
public InertiaSimpleProperty(Vector3D massCenter,
Matrix3D inertiaMatrix,
Vector3D inertiaReferencePoint,
MassProperty mass)
massCenter - the mass centerinertiaMatrix - the inertia matrix of the part.inertiaReferencePoint - the point with respect to the inertia matrix is expressed (in the part frame)mass - the mass property associated to this part| Method Detail |
|---|
public void setMassCenter(Vector3D massCenter)
setMassCenter in class AbstractInertiaPropertymassCenter - the new mass centerpublic void setInertiaMatrix(Matrix3D inertiaMatrix)
setInertiaMatrix in class AbstractInertiaPropertyinertiaMatrix - the new inetria matrix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||