BrepEntityGetMassProperties(Double,
Double, Double) Method
|
Provides the mass properties for the entity.
The mass properties are returned as an instance of MassProperties
class. The density is used for the mass properties scaling and is
the analogue of the physical value of the density of materials. The
mass properties are applicable for those entities, that represent
topology objects having the volume property.
Namespace: Teigha.BoundaryRepresentation
Assembly: TD_MgdBrep (in TD_MgdBrep.dll)
Version: 0.0.0.0
Syntax
public MassProperties GetMassProperties(
double density,
double tolRequired,
out double tolAchieved
)
Public Function GetMassProperties (
density As Double,
tolRequired As Double,
<OutAttribute> ByRef tolAchieved As Double
) As MassProperties
public:
MassProperties GetMassProperties(
double density,
double tolRequired,
[OutAttribute] double% tolAchieved
)
member GetMassProperties :
density : float *
tolRequired : float *
tolAchieved : float byref -> MassProperties
Parameters
- density Double
- [in] Density for calculating mass properties of the
entity.
- tolRequired Double
- [in] Tolerance required for the result of the calculation.
- tolAchieved Double
- [out] Tolerance achieved in the calculation.
Return Value
MassProperties
MassProperties instance containing mass properties of the
entity.
See Also