brepjs API Reference
    Preparing search index...

    Interface VolumeProps

    Volume properties with a domain-specific volume alias.

    interface VolumeProps {
        centerOfMass: Vec3;
        mass: number;
        volume: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    centerOfMass: Vec3

    Center of mass as an [x, y, z] tuple.

    mass: number

    Raw mass property from BRepGProp (volume, area, or length depending on measurement type).

    volume: number