IFClite TypeScript API
    Preparing search index...

    Interface PointCloudAsset

    A point cloud attached to an IFC entity.

    Phase 0 carries a single inline chunk; future phases will add a source reference for streaming sources (LAS/LAZ/Potree) and emit multiple chunks per asset.

    Coordinates in chunk.positions are in the entity's local space (any IFCx usd::xformop lineage transform has already been baked in by the extractor). The renderer applies its own RTC + Y-up flip on upload.

    interface PointCloudAsset {
        chunk: {
            bbox: { max: [number, number, number]; min: [number, number, number] };
            classifications?: Uint8Array<ArrayBufferLike>;
            colors?: Float32Array<ArrayBufferLike>;
            intensities?: Uint16Array<ArrayBufferLike>;
            pointCount: number;
            positions: Float32Array;
        };
        expressId: number;
        ifcType?: string;
        modelIndex?: number;
    }
    Index
    chunk: {
        bbox: { max: [number, number, number]; min: [number, number, number] };
        classifications?: Uint8Array<ArrayBufferLike>;
        colors?: Float32Array<ArrayBufferLike>;
        intensities?: Uint16Array<ArrayBufferLike>;
        pointCount: number;
        positions: Float32Array;
    }

    A single chunk of decoded points (positions + optional rgb in 0..1).

    Type Declaration

    • bbox: { max: [number, number, number]; min: [number, number, number] }
    • Optionalclassifications?: Uint8Array<ArrayBufferLike>

      Per-point u8 LAS-style classification; absent → 0.

    • Optionalcolors?: Float32Array<ArrayBufferLike>

      Per-point RGB in 0..1; absent → renderer defaults to gray.

    • Optionalintensities?: Uint16Array<ArrayBufferLike>

      Per-point u16 intensity; absent → 0.

    • pointCount: number
    • positions: Float32Array
    expressId: number

    Express ID of the IFC entity that owns this scan.

    ifcType?: string

    IFC type name when known (IfcPointCloud, IfcBuildingElementProxy, ...).

    modelIndex?: number

    Federation index — set when multiple models are loaded.