All Frameworks Class Hierarchy This Framework Indexes
SpaceAnalysisInterfaces Interface CATIInertia
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIInertia
Get inertia data of a product controlling the density.
This interface enables to get the inertia data of a product:
- mass
- position of the center of gravity
- inertia matrix
- components of principal axes
- principal moments values
All the coordinates are expressed with respect to the product axis system.
The density is managed :
- as input the density is not null : this value is used for the computation.
- as input the density is null and a density is attached to the product : it is used and ouput.
- as input the density is null and the product has no density : a default value is used and ouput.
If the product is made of non homogeneous material the output density is set to -1.
UNITS :
- Mass Kg ( Kilogram )
- InertiaWetArea M^2 ( square meter )
- InertiaVolume M^3 ( cubic meter )
- COGPosition M ( meter )
- InertiaMatrix KgM2 ( square Kilogram meter )
- PrincipalMoments KgM2 ( square Kilogram meter )
- Density Kg/M^3 ( kilogram per cubic meter )
Method Index
- o
GetCOGPosition(double[3])
- Get the position of the center of gravity of a product.
- o
GetEquivalentMode(int*)
- Get equivalent mode of a product
- o
GetEquivalent(int*)
- Get equivalent of a product
- o
GetInertiaArea(double*)
- Get inertia area of a product
- o
GetInertiaMatrix(double*,double[9])
- Get inertia matrix of a product controlling the density.
- o
GetInertiaVolume(double*)
- Get inertia volume of a product
- o
GetInertia(double*,double*,double[3],double[9],double[9],double[3])
- Get inertia data of a product controlling the density.
- o
GetInertia(double*,double*,double[3],double[9],double[9],double[3],double*,double*)
- Get inertia data ( with inertia volume and area) of a product controlling the density.
- o
GetMass(double*,double*)
- Get mass of a product controlling the density.
- o
GetPrincipalAxes(double[9])
- Get principal axes of a product.
- o
GetPrincipalMoments(double*,double[3])
- Get principal moments of a product controlling the density.
- o
SetEquivalentMode(int)
- Set equivalent mode of a product
- o
SetGranularityMode(int)
- Set granularity mode of a product ( with Part )
Methods
o GetCOGPosition
| public virtual GetCOGPosition( | | oPosition) |
-
Get the position of the center of gravity of a product.
- Parameters:
-
- ioDensity
- The density of the product.
- oPosition
- Position of the center of gravity with respect to the product axis system.
- Returns:
- HRESULT
o GetEquivalentMode
| public virtual GetEquivalentMode( | | oEquivalentMode) |
-
Get equivalent mode of a product
- Parameters:
-
- oEquivalentMode
- 1 -- If a product have some Equivalent, the computation work with
0 -- no equivalent in computation
- Returns:
- HRESULT
o GetEquivalent
| public virtual GetEquivalent( | | oIsEquivalent) |
-
Get equivalent of a product
- Parameters:
-
- oEquivalentMode
- 1 -- If the computation of a product have some Equivalent
0 -- no equivalent in computation
- Returns:
- HRESULT
o GetInertiaArea
| public virtual GetInertiaArea( | | oInertiaArea) |
-
Get inertia area of a product
- Parameters:
-
- oInertiaArea
- The inertia area of the product.
- Returns:
- HRESULT
o GetInertiaMatrix
| public virtual GetInertiaMatrix( | | ioDensity, |
| | oMatrix) |
-
Get inertia matrix of a product controlling the density.
- Parameters:
-
- ioDensity
- The density of the product.
- oMatrix
- Inertia matrix.
- Returns:
- HRESULT
o GetInertiaVolume
| public virtual GetInertiaVolume( | | oInertiaVolume) |
-
Get inertia volume of a product
- Parameters:
-
- oInertiaVolume
- The inertia volume of the product.
- Returns:
- HRESULT
o GetInertia
| public virtual GetInertia( | | ioDensity, |
| | oMass, |
| | oPosition, |
| | oMatrix, |
| | oComponents, |
| | oValues) |
-
Get inertia data of a product controlling the density.
- Parameters:
-
- ioDensity
- The density of the product.
- oMass
- The mass of the product.
- oPosition
- Position of the center of gravity with respect to the product axis system.
- oMatrix
- Inertia matrix.
- oComponents
- Components of principal axes.
- oValues
- Principal moments values.
- Returns:
- HRESULT
o GetInertia
| public virtual GetInertia( | | ioDensity, |
| | oMass, |
| | oPosition, |
| | oMatrix, |
| | oComponents, |
| | oValues, |
| | oInertiaVolume, |
| | oInertiaArea) |
-
Get inertia data ( with inertia volume and area) of a product controlling the density.
- Parameters:
-
- ioDensity
- The density of the product.
- oMass
- The mass of the product.
- oPosition
- Position of the center of gravity with respect to the product axis system.
- oMatrix
- Inertia matrix.
- oComponents
- Components of principal axes.
- oValues
- Principal moments values.
- oInertiaVolume
- The inertia volume of the product.
- oInertiaArea
- The inertia area of the product.
- Returns:
- HRESULT
o GetMass
| public virtual GetMass( | | ioDensity, |
| | oMass) |
-
Get mass of a product controlling the density.
- Parameters:
-
- ioDensity
- The density of the product.
- oMass
- The mass of the product.
- Returns:
- HRESULT
o GetPrincipalAxes
| public virtual GetPrincipalAxes( | | oComponents) |
-
Get principal axes of a product.
- Parameters:
-
- oComponents
- Components of principal axes.
- Returns:
- HRESULT
o GetPrincipalMoments
| public virtual GetPrincipalMoments( | | ioDensity, |
| | oValues) |
-
Get principal moments of a product controlling the density.
- Parameters:
-
- ioDensity
- The density of the product.
- oValues
- Principal moments values.
- Returns:
- HRESULT
o SetEquivalentMode
| public virtual SetEquivalentMode( | | iEquivalentMode) |
-
Set equivalent mode of a product
- Parameters:
-
- iEquivalentMode
- 1 -- If a product have some Equivalent, the computation work with
0 -- no equivalent in computation
- Returns:
- HRESULT
o SetGranularityMode
| public virtual SetGranularityMode( | | iGranularityMode) |
-
Set granularity mode of a product ( with Part )
- Parameters:
-
- iGranularityMode
- 0 -- Only the main body in Inertia computation
1 -- All body for Inertia computation
- Returns:
- HRESULT
This object is included in the file: CATIInertia.h
If needed, your Imakefile.mk should include the module: CATSaiSpaceAnalysisItf