TopoDS_Shape shape; ... GProp_GProps System; BRepGProp::LinearProperties(shape, System); BRepGProp::SurfaceProperties(shape, System); BRepGProp::VolumeProperties(shape, System); System.Mass();