IFace.GetMass Method

Computes total mass.
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

double

The mass amount expressed in the provided system of measurement.

Remarks
 
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.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition