Decoder options; see LepccContainerDecoderOptions. The default
{} lets the browser bundler resolve the sibling wasm and requantizes on a 1 cm grid.
ReadonlybackendThe backend this instance reports — always 'cpu-wasm' (in-process wasm decode).
Yield the decoded container as its single quantized tile.
The DecodedModel returned by open for these bytes.
The same .lepcc bytes passed to open (re-decoded only if
the cached tile is absent, e.g. decodeTiles without a prior open).
Optionalopts: DecodeOptionsOptional DecodeOptions: signal to abort (checked before decode
and before yield), and onTile(tile, 0) invoked as the tile finishes.
An async iterable yielding exactly one DecodedPointTile.
The provided signal's abort reason if aborted before the tile is
produced; also rejects on bad LPC1 framing, wasm init failure, or malformed
LEPCC blobs (see open).
Release the cached tile (the shared wasm singleton stays warm).
Decode the .lepcc container and report the quantized point model shape.
The raw .lepcc (LPC1) container bytes.
The DecodedModel: profile: 'pointcloud', point meta with
scale: [grid, grid, grid] and offset: [0, 0, 0], and tileCount: 1.
NOT the cheap header parse of the general contract — LEPCC blobs decode to world floats, so the whole container is decoded and requantized here and the tile cached for decodeTiles (which releases it).
If the LPC1 framing is invalid (see parseLpc1Header), if the wasm fails to initialize (see WasmHostInit), or if a LEPCC blob is malformed — the wasm decode rejects.
Adapts a standalone
.lepcc(LPC1-framed Esri LEPCC) point-cloud container to the SDK's quantized streamingDecodercontract, so point-cloud layers can render a.lepcccapture through the same renderer path as any other point container.Remarks
Composes the per-blob LepccDecoder (shared lazily-initialized wasm) with an i32 requantization pass. LEPCC decodes to dequantized world floats, so open decodes the whole container, requantizes it onto the configured LepccContainerDecoderOptions.grid, and caches the single
DecodedPointTile(alwaystileCount: 1) that decodeTiles then yields and releases. RGB is widened u8 → full-range u16 (× 257); LAS flag bytes map to the tile'sclassificationplane. CallingdecodeTileswithout a prioropenre-decodes the bytes.Example