Data Structures | |
struct | A3DPhysicalPropertiesData |
Physical property settings. More... | |
Functions | |
A3DStatus | A3DComputePhysicalProperties (const A3DRiBrepModel *p, const A3DVector3dData *psScale, A3DPhysicalPropertiesData *psPhysicalPropertiesData) |
Function to compute the physical properties (the gravity center, surface area and volume) of a BrepModel. An optional scale, psScale, can be used. It can be either uniform or not. Physical properties will be computed after having scaled the geometrical data in the A3DRiBrepModel. More... | |
A3DStatus | A3DComputeFaceArea (const A3DTopoFace *pFace, const A3DTopoContext *pBrepDataTopoContext, A3DDouble *pArea) |
Function to compute the surface of the current A3DTopoFace. The current TopoContext is needed in order to get the correct current scale. More... | |
A3DStatus | A3DComputePolyBrepPhysicalProperties (const A3DRiPolyBrepModel *p, const A3DVector3dData *psScale, A3DPhysicalPropertiesData *psPhysicalPropertiesData) |
Function to compute the physical properties (the gravity center, surface area and volume) of a PolyBrepModel. An optional scale, psScale, can be used. It can be either uniform or not. Physical properties will be computed after having scaled the geometrical data in the A3DRiPolyBrepModel. More... | |
A3DStatus | A3DComputeModelFilePhysicalProperties (const A3DAsmModelFile *p, A3DPhysicalPropertiesData *psPhysicalProperties) |
Function to compute the physical properties (the gravity center, surface area and volume) of a modelfile, typically an assembly. Data is returned in the modelfile unit;. More... | |
A3DStatus A3DComputePhysicalProperties | ( | const A3DRiBrepModel * | p, |
const A3DVector3dData * | psScale, | ||
A3DPhysicalPropertiesData * | psPhysicalPropertiesData | ||
) |
Function to compute the physical properties (the gravity center, surface area and volume) of a BrepModel. An optional scale, psScale, can be used. It can be either uniform or not. Physical properties will be computed after having scaled the geometrical data in the A3DRiBrepModel.
[in] | p | The input B-rep model. |
[in] | psScale | The optional scale. |
[out] | psPhysicalPropertiesData | The wanted physical properties. |
A3DStatus A3DComputeFaceArea | ( | const A3DTopoFace * | pFace, |
const A3DTopoContext * | pBrepDataTopoContext, | ||
A3DDouble * | pArea | ||
) |
Function to compute the surface of the current A3DTopoFace. The current TopoContext is needed in order to get the correct current scale.
[in] | pFace | The input A3DTopoFace. |
[in] | pBrepDataTopoContext | The corresponding A3DTopoContext of the current A3DTopoBrepData who is owing the A3DTopoFace. |
[out] | pArea | The surface of the A3DTopoFace in the current unit. |
A3DStatus A3DComputePolyBrepPhysicalProperties | ( | const A3DRiPolyBrepModel * | p, |
const A3DVector3dData * | psScale, | ||
A3DPhysicalPropertiesData * | psPhysicalPropertiesData | ||
) |
Function to compute the physical properties (the gravity center, surface area and volume) of a PolyBrepModel. An optional scale, psScale, can be used. It can be either uniform or not. Physical properties will be computed after having scaled the geometrical data in the A3DRiPolyBrepModel.
[in] | p | The input poly B-rep model. |
[in] | psScale | The optional scale. |
[out] | psPhysicalPropertiesData | The wanted physical properties. |
A3DStatus A3DComputeModelFilePhysicalProperties | ( | const A3DAsmModelFile * | p, |
A3DPhysicalPropertiesData * | psPhysicalProperties | ||
) |
Function to compute the physical properties (the gravity center, surface area and volume) of a modelfile, typically an assembly. Data is returned in the modelfile unit;.
[in] | p | The input modelfile. |
[out] | psPhysicalProperties | The physical properties. |