# A3DComputePolyBrepPhysicalProperties

A3DStatus `A3DComputePolyBrepPhysicalProperties`(const A3DRiPolyBrepModel *p, const A3DVector3dData *psScale, A3DPhysicalPropertiesData *psPhysicalPropertiesData)
  `A3DStatus` A3DComputePolyBrepPhysicalProperties(const `A3DRiPolyBrepModel`* p, const `A3DVector3dData`* psScale, `A3DPhysicalPropertiesData`* psPhysicalPropertiesData)

  Function to compute the physical properties (surface area, volume and gravity center, and since 11.2 the surfacic gravity center and the surfacic and volumic inertia matrix) 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`.

  Note that since 11.2, the input psPhysicalPropertiesData structure now has a couple of input parameters with which precision can be adjusted, in addition to the new return values.

  The inertia matrices are provided relative to the computed gravity centers, with respect to the global X, Y and Z directions.

  Parameters

  > p: The input poly B-rep model.

  > psScale: The optional scale.

  > psPhysicalPropertiesData: The wanted physical properties.

  Returns

  > `A3D_SUCCESS`on success, or an error code on failure

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...