mass property

double mass
final

Mass in kg; 0 works it out from the shape's volume.

Implementation

final double mass;