fr.cnes.sirius.patrius.assembly.properties
Class InertiaCylinderProperty
java.lang.Object
fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
fr.cnes.sirius.patrius.assembly.properties.InertiaCylinderProperty
- All Implemented Interfaces:
- IPartProperty, IInertiaProperty
public final class InertiaCylinderProperty
- extends AbstractInertiaProperty
Inertia property for a cylinder part. The (0, 0, 0) point of the given frame
is the center of a basis of the cylinder. Its axis is Z, and it is oriented
on the positive values.
- Since:
- 1.2
- Version:
- $Id: InertiaCylinderProperty.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 |
InertiaCylinderProperty
public InertiaCylinderProperty(double radius,
double height,
MassProperty mass)
- Constructor for the cylinder inertia property.
- Parameters:
radius - the radius of the basis (must be positive)height - the heihgt of the cylinder (must be positive)mass - 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.