IFClite TypeScript API
    Preparing search index...

    Class ProfileEntryJs

    A single profile entry – raw 2D polygon + world transform.

    Profile points are in local 2D profile space (metres). Apply transform to [x, y, 0, 1] to get WebGL Y-up world coordinates.

    Index
    expressId: number

    Express ID of the building element.

    extrusionDepth: number

    Extrusion depth (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: [x0, y0, x1, y1, …] (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]ᵀ gives the world position.

    • Returns void

    • Returns void