fr.cnes.sirius.patrius.assembly.properties
Class InertiaCylinderProperty

java.lang.Object
  extended by fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
      extended by 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 17588 2017-05-10 13:31:54Z bignon $
Author:
Thomas Trapier
See Also:
IInertiaProperty
Concurrency :
not thread-safe
Concurrency comment :
the use of frames makes this class not thread-safe

Constructor Summary
InertiaCylinderProperty(double radius, double height, MassProperty mass)
          Constructor for the cylinder inertia property.
 
Method Summary
 Matrix3D getInertiaMatrix()
          
 
Methods inherited from class fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
getMass, getMassCenter, getMassProperty, getType, setInertiaMatrix, setMassCenter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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 © 2017 CNES. All Rights Reserved.