brepjs API Reference
    Preparing search index...

    Interface LinearProps

    Linear properties with a domain-specific length alias.

    interface LinearProps {
        centerOfMass: Vec3;
        length: number;
        mass: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    centerOfMass: Vec3

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

    length: number
    mass: number

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