fr.cnes.sirius.patrius.assembly.properties
Class InertiaSphereProperty
java.lang.Object
fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
fr.cnes.sirius.patrius.assembly.properties.InertiaSphereProperty
- All Implemented Interfaces:
- IPartProperty, IInertiaProperty
public final class InertiaSphereProperty
- extends AbstractInertiaProperty
Inertia property for a spherical part. The center of the part is the (0, 0, 0) point
in the given frame.
- Since:
- 1.2
- Version:
- $Id: InertiaSphereProperty.java 9374 2013-09-25 09:14:24Z houdroge $
- Author:
- Thomas Trapier
- See Also:
IInertiaProperty- Concurrency :
- not thread-safe
- Concurrency comment :
- the use of frames makes this class not thread-safe
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InertiaSphereProperty
public InertiaSphereProperty(double radius,
MassProperty mass)
- Constructor for the spherical inertia property.
- Parameters:
radius - the radius of the spheremass - the mass property associated to this part
getInertiaMatrix
public Matrix3D getInertiaMatrix()
-
- Specified by:
getInertiaMatrix in interface IInertiaProperty- Overrides:
getInertiaMatrix in class AbstractInertiaProperty
- Returns:
- the inertia matrix at the mass center of the part.
Copyright © 2016 CNES. All Rights Reserved.