Skip to main content

Class: TablePointsData

Defined in: @tissuumaps-storage/src/table/TablePointsData.ts:8

Loaded point cloud data providing coordinate access

Implements

Constructors

Constructor

new TablePointsData(tableData, xColumn, yColumn): TablePointsData

Defined in: @tissuumaps-storage/src/table/TablePointsData.ts:13

Parameters

tableData

TableData

xColumn

string

yColumn

string

Returns

TablePointsData

Methods

close()

close(): void

Defined in: @tissuumaps-storage/src/table/TablePointsData.ts:55

Releases all resources held by this data object

Returns

void

Implementation of

PointsData.close


getIds()

getIds(): number[]

Defined in: @tissuumaps-storage/src/table/TablePointsData.ts:19

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

Implementation of

PointsData.getIds


getNames()

getNames(): string[] | undefined

Defined in: @tissuumaps-storage/src/table/TablePointsData.ts:27

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

Implementation of

PointsData.getNames


getSize()

getSize(): number

Defined in: @tissuumaps-storage/src/table/TablePointsData.ts:23

Returns the total number of items

Returns

number

The item count

Implementation of

PointsData.getSize


loadGeometry()

loadGeometry(options?): Promise<PointsGeometry>

Defined in: @tissuumaps-storage/src/table/TablePointsData.ts:31

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

Implementation of

PointsData.loadGeometry