Overview

Programming Guide

API Reference

Physical properties

Data Structures

struct  A3DPhysicalPropertiesData
 Physical property settings.
 

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...
 

Detailed Description

Version
5.2