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 total size of each individual point record.
Returns the custom scale of the block.
Changes the number of points in the block. This is used in order to remove all points after point
size
. If asize
larger than ``pointCount``() is used, data for the new points will be uninitialized.- 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
- pointRecordSize(self) int ¶
Returns the total size of each individual point record.
New in version 3.26.
- Return type:
int
- scale(self) QgsVector3D ¶
Returns the custom scale of the block.
- Return type: