Class: QgsPointCloudNode

Keeps metadata for an indexed point cloud node.

Note

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

Added in version 3.42.

class qgis.core.QgsPointCloudNode[source]

Bases: object

__init__(id: QgsPointCloudNodeId, pointCount: int, childIds: Iterable[QgsPointCloudNodeId], error: float, bounds: QgsBox3D)

Constructs new node object. Should only be called by QgsAbstractPointCloudIndex.getNode(). Bounds should always be computed by QgsPointCloudNode.bounds().

Parameters:
__init__(a0: QgsPointCloudNode)
Parameters:

a0 (QgsPointCloudNode)

bounds(self) QgsBox3D[source]

Returns node’s bounding cube in CRS coords

bounds(rootBounds: QgsBox3D, id: QgsPointCloudNodeId) -> QgsBox3D Returns bounding box of specific node

Return type:

QgsBox3D

children(self) List[QgsPointCloudNodeId]

Returns IDs of child nodes

Return type:

List[QgsPointCloudNodeId]

error(self) float[source]

Returns node’s error in map units (used to determine in whether the node has enough detail for the current view)

Return type:

float

id(self) QgsPointCloudNodeId[source]

Returns node’s ID (unique in index)

Return type:

QgsPointCloudNodeId

pointCount(self) int[source]

Returns number of points contained in node data

Return type:

int