All Frameworks Class Hierarchy This Framework Next Indexes
SpaceAnalysisInterfaces Interface CATIInertia
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---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
GetEquivalent(int*)
- Get equivalent of a product
- o
GetEquivalentMode(int*)
- Get equivalent mode 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
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
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 HRESULT GetCOGPosition( | double[3] | oPosition) const=0 |
-
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 GetEquivalent
public virtual HRESULT GetEquivalent( | int* | oIsEquivalent) const=0 |
-
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 GetEquivalentMode
public virtual HRESULT GetEquivalentMode( | int* | oEquivalentMode) const=0 |
-
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 GetInertia
public virtual HRESULT GetInertia( | double* | ioDensity, |
| double* | oMass, |
| double[3] | oPosition, |
| double[9] | oMatrix, |
| double[9] | oComponents, |
| double[3] | oValues)const=0 |
-
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 HRESULT GetInertia( | double* | ioDensity, |
| double* | oMass, |
| double[3] | oPosition, |
| double[9] | oMatrix, |
| double[9] | oComponents, |
| double[3] | oValues, |
| double* | oInertiaVolume, |
| double* | oInertiaArea) const=0 |
-
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 GetInertiaArea
public virtual HRESULT GetInertiaArea( | double* | oInertiaArea) const=0 |
-
Get inertia area of a product
- Parameters:
-
- oInertiaArea
- The inertia area of the product.
- Returns:
- HRESULT
o GetInertiaMatrix
public virtual HRESULT GetInertiaMatrix( | double* | ioDensity, |
| double[9] | oMatrix) const=0 |
-
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 HRESULT GetInertiaVolume( | double* | oInertiaVolume) const=0 |
-
Get inertia volume of a product
- Parameters:
-
- oInertiaVolume
- The inertia volume of the product.
- Returns:
- HRESULT
o GetMass
public virtual HRESULT GetMass( | double* | ioDensity, |
| double* | oMass) const=0 |
-
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 HRESULT GetPrincipalAxes( | double[9] | oComponents) const=0 |
-
Get principal axes of a product.
- Parameters:
-
- oComponents
- Components of principal axes.
- Returns:
- HRESULT
o GetPrincipalMoments
public virtual HRESULT GetPrincipalMoments( | double* | ioDensity, |
| double[3] | oValues) const=0 |
-
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 HRESULT SetEquivalentMode( | int | iEquivalentMode) const=0 |
-
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 HRESULT SetGranularityMode( | int | iGranularityMode) const=0 |
-
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