Measure volume properties of a 3D shape.
A solid or compound shape.
Volume, center of mass, and raw mass property.
measureVolume for a shorthand that returns only the volume number.
const props = measureVolumeProps(mySolid);console.log(props.volume, props.centerOfMass); Copy
const props = measureVolumeProps(mySolid);console.log(props.volume, props.centerOfMass);
Measure volume properties of a 3D shape.