Class: QgsPointCloudSubIndex¶
Represents an individual index and metadata for the virtual point cloud data provider.
The index is initially None until the virtual point cloud data
provider explicitly loads the uri.
Added in version 4.0.
List of all members, including inherited members
Methods
Returns the extent for this sub index in the index's crs coordinates. |
|
Returns the point cloud index. |
|
The number of points contained in the index. |
|
Returns the bounds of the sub index in the index's crs coordinates as a multi polygon geometry. |
|
Sets the point cloud index to index. |
|
Returns the uri for this sub index |
|
Returns the elevation range for this sub index hoping it's in meters. |
- class qgis.core.QgsPointCloudSubIndex[source]¶
Bases:
object- __init__(uri: str | None, geometry: QgsGeometry, extent: QgsRectangle, zRange: QgsDoubleRange, count: int)
Constructor
- Parameters:
uri (Optional[str])
geometry (QgsGeometry)
extent (QgsRectangle)
zRange (QgsDoubleRange)
count (int)
- __init__(a0: QgsPointCloudSubIndex)
- Parameters:
- extent(self) QgsRectangle[source]¶
Returns the extent for this sub index in the index’s crs coordinates.
- Return type:
- index(self) QgsPointCloudIndex[source]¶
Returns the point cloud index. May be
Noneif not loaded.- Return type:
- polygonBounds(self) QgsGeometry[source]¶
Returns the bounds of the sub index in the index’s crs coordinates as a multi polygon geometry. This can be the same as the extent or a more detailed geometry like a convex hull if available.
- Return type:
- setIndex(self, index: QgsPointCloudIndex)[source]¶
Sets the point cloud index to
index.- Parameters:
index (QgsPointCloudIndex)
- zRange(self) QgsDoubleRange[source]¶
Returns the elevation range for this sub index hoping it’s in meters.
- Return type: