IFClite TypeScript API
    Preparing search index...

    Interface MeshOutline2D

    A winding-robust 2D footprint outline of a mesh, produced by the Rust meshOutline2d WASM binding (it unions projected triangle areas, so it is correct regardless of ifc-lite's unreliable triangle winding — unlike normal-based silhouette extraction).

    contours are closed rings in drawing 2D space (the same basis as projectTo2D, so they coincide with the section-cut polygons); each is a flat [u0, v0, u1, v1, …] with NO duplicated closing vertex. axisMin / axisMax are the element's extent along the cut axis (world units), used to classify the outline into the visible/overhead projection band.

    interface MeshOutline2D {
        axisMax: number;
        axisMin: number;
        contours: readonly ArrayLike<number>[];
    }
    Index
    axisMax: number
    axisMin: number
    contours: readonly ArrayLike<number>[]