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

java.lang.Object
  extended by fr.cnes.sirius.patrius.assembly.properties.AbstractInertiaProperty
      extended by fr.cnes.sirius.patrius.assembly.properties.InertiaParallelepipedProperty
All Implemented Interfaces:
IPartProperty, IInertiaProperty

public final class InertiaParallelepipedProperty
extends AbstractInertiaProperty

Inertia property for a parallelepipedic part. The center of the parallelepiped is the (0, 0, 0) point in the given frame.

Since:
1.2
Version:
$Id: InertiaParallelepipedProperty.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
InertiaParallelepipedProperty(double length, double width, double height, MassProperty mass)
          Constructor for the parallelepiped 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

InertiaParallelepipedProperty

public InertiaParallelepipedProperty(double length,
                                     double width,
                                     double height,
                                     MassProperty mass)
Constructor for the parallelepiped inertia property. The center of the parallelepiped is the (0, 0, 0) point in the given frame.

Parameters:
length - length the dimension on the X axis of the frame.
width - the dimension on the Y axis of the given frame.
height - the dimension on the Z axis of the given frame.
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.