brepjs API Reference
    Preparing search index...

    Function measureLinearProps

    • Measure linear properties of any shape.

      For edges this is the arc length; for wires it is the total length of their edges; for faces, shells, solids, and compounds it is the total length of their distinct edges, each counted once (a face's seam edge included).

      Parameters

      Returns Result<LinearProps>

      Result containing length, center of mass, and raw mass property.

      measureLength for a shorthand that returns only the length number.