IFace.GetMass Method
Function GetMass( _
ByVal material As Material, _
ByVal linearUnits As linearUnitsType, _
ByVal massUnits As massUnitsType, _
ByRef convertedDensity As Double _
) As Double
This language is not supported or no code example is available.
double GetMass(
Material material,
linearUnitsType linearUnits,
massUnitsType massUnits,
out double convertedDensity
)
This language is not supported or no code example is available.
Parameters
- material
- Material
- linearUnits
- linearUnitsType
The length units.
- massUnits
- massUnitsType
The mass units.
- convertedDensity
- double
The density of the material converted from the material system of measurement to the provided system of measurement.
Return Value
doubleThe mass amount expressed in the provided system of measurement.
If the object is not closed, the result could be inaccurate. If the material or its density is undefined, the density is assumed by default 1 kilogram per cubic meter.