Skip to main content

Interface: PointsData

Defined in: storage/points.ts:19

Loaded point cloud data providing coordinate access

Extends

Methods

close()

close(): void

Defined in: storage/base.ts:44

Releases all resources held by this data object

Returns

void

Inherited from

ItemsData.close


getIds()

getIds(): number[]

Defined in: storage/base.ts:55

Returns an array of item IDs

Returns

number[]

Inherited from

ItemsData.getIds


getNames()

getNames(): string[] | undefined

Defined in: storage/base.ts:61

Returns the item names if available, otherwise undefined

Returns

string[] | undefined

Inherited from

ItemsData.getNames


getSize()

getSize(): number

Defined in: storage/base.ts:58

Returns the total number of items

Returns

number

Inherited from

ItemsData.getSize


loadCoordinates()

loadCoordinates(options?): Promise<[Float32Array<ArrayBufferLike>, Float32Array<ArrayBufferLike>]>

Defined in: storage/points.ts:26

Loads the coordinates for all points

Parameters

options?

Optional abort signal and progress callback

onProgress?

ProgressCallback

signal?

AbortSignal

Returns

Promise<[Float32Array<ArrayBufferLike>, Float32Array<ArrayBufferLike>]>

The x and y coordinates as separate arrays, in index order