Interface: PointsData
Defined in: storage/points.ts:17
Loaded point cloud data providing coordinate access
Extends
Properties
getNames?
optionalgetNames?: () =>string[] |undefined
Defined in: storage/base.ts:66
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
Methods
close()
close():
void
Defined in: storage/base.ts:18
Releases all resources held by this data object
Returns
void
Inherited from
getIds()
getIds():
IDArray
Defined in: storage/base.ts:47
Returns an array of item IDs
IDs are either integers, held by an integer typed array or by 64-bit
floats (safe integers only), or strings, held by a plain array (see
IDArray). The returned array is owned by this data object: callers must
not modify it, and every call returns the very same array (see
ItemsData). IDs are expected to be unique, which is not checked.
Returns
The item IDs
Inherited from
getSize()
getSize():
number
Defined in: storage/base.ts:54
Returns the total number of items
Returns
number
The item count
Inherited from
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?
signal?
AbortSignal
Returns
Promise<PointsGeometry>
A promise that resolves to the loaded points geometry