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 byQgsPointCloudNode.bounds().- Parameters:
id (QgsPointCloudNodeId)
pointCount (int)
childIds (Iterable[QgsPointCloudNodeId])
error (float)
bounds (QgsBox3D)
- __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:
- children(self) List[QgsPointCloudNodeId]¶
Returns IDs of child nodes
- Return type:
- 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: