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.
Methods
Returns node's bounding cube in CRS coords |
|
Returns IDs of child nodes |
|
Returns node's error in map units (used to determine in whether the node has enough detail for the current view) |
|
Returns node's ID (unique in index) |
|
Returns number of points contained in node data |
- 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(rootBounds: QgsBox3D, id: QgsPointCloudNodeId) QgsBox3D [source]
Returns bounding box of specific node
- Parameters:
rootBounds (
QgsBox3D
)id (
QgsPointCloudNodeId
)
- Return type:
- 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: