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

java.lang.Object
  extended by fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
      extended by 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

Constructor Summary
InertiaSphereProperty(double radius, MassProperty mass)
          Constructor for the spherical 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

InertiaSphereProperty

public InertiaSphereProperty(double radius,
                             MassProperty mass)
Constructor for the spherical inertia property.

Parameters:
radius - the radius of the sphere
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 © 2016 CNES. All Rights Reserved.