Skip to main content

Interface: PointsData

Defined in: storage/points.ts:17

Loaded point cloud data providing coordinate access

Extends

Properties

getNames?

optional getNames?: () => string[] | undefined

Defined in: storage/base.ts:63

Returns the item names if available, otherwise undefined

Optional: data types that never carry item names need not implement it.

The returned array is owned by this data object: callers must not modify it, and every call returns the very same array (see ItemsData).

Returns

string[] | undefined

The item names, or undefined if not available

Inherited from

ItemsData.getNames

Methods

close()

close(): void

Defined in: storage/base.ts:18

Releases all resources held by this data object

Returns

void

Inherited from

ItemsData.close


getIds()

getIds(): number[]

Defined in: storage/base.ts:44

Returns an array of item IDs

The returned array is owned by this data object: callers must not modify it, and every call returns the very same array (see ItemsData).

Returns

number[]

The item IDs

Inherited from

ItemsData.getIds


getSize()

getSize(): number

Defined in: storage/base.ts:51

Returns the total number of items

Returns

number

The item count

Inherited from

ItemsData.getSize


loadGeometry()

loadGeometry(options?): Promise<PointsGeometry>

Defined in: storage/points.ts:24

Loads the geometry for all points

Parameters

options?

Optional abort signal and progress callback

onProgress?

ProgressCallback

signal?

AbortSignal

Returns

Promise<PointsGeometry>

A promise that resolves to the loaded points geometry