Commonplace kernel API
    Preparing search index...

    Function scaleFor

    • Experimental

      The operand length scale L (ADR-083 D2, operand-first): the AABB diagonal of points. 2D when no point carries a z (matching the arrangement's 2D welding form); 3D otherwise. Returns 0 for an empty set (the minX > maxX ⇒ 0 guard the shipped derivers use).

      Parameters

      • points: Iterable<{ x: number; y: number; z?: number }>

      Returns number

      2026-Q4

      experimental — stable-by target: 2027-Q2