IFClite TypeScript API
    Preparing search index...

    Interface ProfileEntry

    A raw profile polygon extracted from an IfcExtrudedAreaSolid element.

    All geometry is in WebGL Y-up world space (metres). Applying transform to [x, y, 0, 1] yields the world-space 3D position.

    Returned by IfcAPI.extractProfiles() (WASM).

    interface ProfileEntry {
        expressId: number;
        extrusionDepth: number;
        extrusionDir: Float32Array;
        holeCounts: Uint32Array;
        holePoints: Float32Array;
        ifcType: string;
        modelIndex: number;
        outerPoints: Float32Array;
        transform: Float32Array;
    }
    Index
    expressId: number

    Express ID of the building element.

    extrusionDepth: number

    Extrusion depth in metres.

    extrusionDir: Float32Array

    Extrusion direction [dx, dy, dz] in WebGL Y-up world space (unit vector).

    holeCounts: Uint32Array

    Number of points per hole.

    holePoints: Float32Array

    All hole points concatenated in local profile space (metres).

    ifcType: string

    IFC type name (e.g., "IfcWall").

    modelIndex: number

    Model index for multi-model federation.

    outerPoints: Float32Array

    Outer boundary: flat [x0, y0, x1, y1, …] in local profile space (metres).

    transform: Float32Array

    4 × 4 column-major transform in WebGL Y-up world space. M * [x, y, 0, 1]ᵀ → world position.