IFClite TypeScript API
    Preparing search index...

    Interface ClashElement

    A representation-agnostic element fed to the clash core.

    Identity is deliberately split: a durable key (IfcGUID / USD prim path) for persistence, BCF, dedup and lifecycle; and a runtime ref (federated globalId / expressId) for selection and coloring in a renderer.

    positions/indices are world-frame triangles (the geometry-pipeline frame, Y-up, RTC-shifted). transform is identity unless positions are kept local.

    interface ClashElement {
        bounds: AABB;
        indices: Uint32Array;
        key: string;
        model: string;
        name?: string;
        positions: Float32Array;
        ref: number;
        storey?: string;
        tag: string;
        transform?: Mat4;
    }
    Index
    bounds: AABB
    indices: Uint32Array
    key: string
    model: string
    name?: string
    positions: Float32Array
    ref: number
    storey?: string
    tag: string
    transform?: Mat4