Class: QgsPointCloudBlock

class qgis.core.QgsPointCloudBlock

Bases: sip.wrapper

Base class for storing raw data from point cloud nodes

Note

The API is considered EXPERIMENTAL and can be changed without a notice

New in version 3.18.

QgsPointCloudBlock(count: int, attributes: QgsPointCloudAttributeCollection, data: Union[QByteArray, bytes, bytearray], scale: QgsVector3D, offset: QgsVector3D) Ctor

QgsPointCloudBlock(QgsPointCloudBlock)

Methods

attributes

Returns the attributes that are stored in the data block, along with their size

data

Returns raw pointer to data

offset

Returns the custom offset of the block.

pointCount

Returns number of points that are stored in the block

scale

Returns the custom scale of the block.

attributes(self) QgsPointCloudAttributeCollection

Returns the attributes that are stored in the data block, along with their size

Return type:

QgsPointCloudAttributeCollection

data(self) str

Returns raw pointer to data

Return type:

str

offset(self) QgsVector3D

Returns the custom offset of the block.

Return type:

QgsVector3D

pointCount(self) int

Returns number of points that are stored in the block

Return type:

int

scale(self) QgsVector3D

Returns the custom scale of the block.

Return type:

QgsVector3D