/** * Decoders for the two non-PCD IFCx point cloud schemas authored by * buildingSMART: * * points::array — { positions: number[][], colors?: number[][] } * inline JSON arrays of [x,y,z] and [r,g,b] in 0..1 * * points::base64 — { positions: base64-string, colors?: base64-string } * little-endian Float32 buffers, [x,y,z, x,y,z, ...] * and [r,g,b, r,g,b, ...] in 0..1 * * The PCD schema (pcd::base64) is decoded by formats/pcd.ts; the adapter * that picks between these three lives in `from-ifcx-attributes.ts`. */ import type { DecodedPointChunk } from '../types.js'; export interface PointsArrayAttribute { positions: number[][]; colors?: number[][]; } export interface PointsBase64Attribute { positions: string; colors?: string; } export declare function decodePointsArray(attr: PointsArrayAttribute): DecodedPointChunk; export declare function decodePointsBase64(attr: PointsBase64Attribute): DecodedPointChunk; //# sourceMappingURL=ifcx-points.d.ts.map