BrepEntityGetMassProperties(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
)
Public Function GetMassProperties (
density As Double
) As MassProperties
public:
MassProperties GetMassProperties(
double density
)
member GetMassProperties :
density : float -> MassProperties
Parameters
- density Double
- [in] Density for calculating mass properties of the
entity.
Return Value
MassProperties
MassProperties instance containing mass properties of the
entity.
See Also