IFClite TypeScript API
    Preparing search index...

    Function decodePcd

    • Parameters

      • buffer: Uint8Array
      • OptionaloriginOffset: readonly [number, number, number]

        Native (X, Y, Z)-axis offset subtracted from each decoded coordinate in f64, BEFORE narrowing to the Float32Array (extends #1804's LAS/LAZ pattern — see decodeLasPoints's originOffset doc). Some PCD exports carry absolute survey/map coordinates at ~1e6-1e7 m magnitude, which quantise to sub-metre noise once narrowed to f32 without this. undefined (the default) subtracts nothing, preserving prior behaviour byte-for-byte.

      Returns DecodedPointChunk