A3DPhysicalPropertiesData
Fields
Detailed Description
-
struct
A3DPhysicalPropertiesData
Physical property settings.
- Version
- 5.2
Public Members
-
A3DVector3dData
m_sGravityCenter
Gravity center.
The value returned is in the unit of the entity (Modelfile unit if using A3DComputeModelFilePhysicalProperties on model file, Brep Unit (adjustable through an input scale) if using A3DComputePolyBrepPhysicalProperties or A3DComputePhysicalProperties).
-
A3DDouble
m_dSurface
B-rep model surface area of resulting B-rep.
The value returned is in the unit of the entity (Modelfile unit if using A3DComputeModelFilePhysicalProperties on model file, Brep Unit (adjustable through an input scale) if using A3DComputePolyBrepPhysicalProperties or A3DComputePhysicalProperties).
-
A3DBool
m_bVolumeComputed
When false, typically in case the B-rep is not a solid, indicates that the volumic properties were not computed.
-
A3DDouble
m_dVolume
B-rep model volume of resulting B-rep.
The value returned is in the unit of the entity (Modelfile unit if using A3DComputeModelFilePhysicalProperties on model file, Brep Unit (adjustable through an input scale) if using A3DComputePolyBrepPhysicalProperties or A3DComputePhysicalProperties).
-
A3DVector3dData
m_sSurfacicGravityCenter
Gravity center using the surfaces’ area as weight, rather than volume.
The value returned is in the unit of the entity (Modelfile unit if using A3DComputeModelFilePhysicalProperties on model file, Brep Unit (adjustable through an input scale) if using A3DComputePolyBrepPhysicalProperties or A3DComputePhysicalProperties).
- Version
- 11.2
-
A3DDouble
m_adAreaMatrixOfInertia
[9] The inertia matrix calculated using the surface rather than the volume.
The value returned is in the unit of the entity (Modelfile unit if using A3DComputeModelFilePhysicalProperties on model file, Brep Unit (adjustable through an input scale) if using A3DComputePolyBrepPhysicalProperties or A3DComputePhysicalProperties).
- Version
- 11.2
-
A3DDouble
m_adVolumeMatrixOfInertia
[9] The volumic inertia matrix.
The value returned is in the unit of the entity (Modelfile unit if using A3DComputeModelFilePhysicalProperties on model file, Brep Unit (adjustable through an input scale) if using A3DComputePolyBrepPhysicalProperties or A3DComputePhysicalProperties).
- Version
- 11.2
-
A3DBool
m_bUseGeometryOnRiBRep
An input value which, if set to false, starts the calculations using RI tessellation (and internally computes a temporary tessellation if none is present).
If set to true, uses an A3DRiBrepModel’s geometry, and returns an error if it does not have any geometry. False by default.
- Version
- 11.2
-
A3DDouble
m_dAccuracyLevel
An input value between 0.0 and 1.0 (default is 0.99).
Approaching 1.0 will make the calculation more accurate, but slower and less stable. The dependency is not linear. This can affect calculations on both tessellation and geometry, and when m_bUseGeometryOnRiBRep=false, will internally recompute tessellation on A3DRiBrepModels that contain geometry, without affecting input data.
- Version
- 11.2