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
) CtorQgsPointCloudBlock(
QgsPointCloudBlock
)Methods
Returns the attributes that are stored in the data block, along with their size
Returns raw pointer to data
Returns the custom offset of the block.
Returns number of points that are stored in the block
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:
- data(self) str ¶
Returns raw pointer to data
- Return type:
str
- offset(self) QgsVector3D ¶
Returns the custom offset of the block.
- Return type:
- 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: