calcMass

abstract fun calcMass(density: Double)

Calculates the mass of a shape.

Parameters

density

The desired density to factor into the calculation.