IFClite TypeScript API
    Preparing search index...

    Function getProjectionAxes

    • Get the two axes perpendicular to the section axis (for 2D projection).

      NOTE: the Rust projection_outline::project (rust/geometry/src/ projection_outline.rs) MUST mirror this mapping + the flipped-U rule in projectTo2D exactly, so winding-robust outlines coincide with the cut polygons. Change both sides together.

      Parameters

      • axis: "x" | "y" | "z"

      Returns { u: "x" | "y" | "z"; v: "x" | "y" | "z" }