Class: QgsPointCloudNodeId

Represents an indexed point cloud node’s position in octree.

Note

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

Added in version 3.18.

class qgis.core.QgsPointCloudNodeId[source]

Bases: object

__init__()

Constructs invalid node

__init__(_d: int, _x: int, _y: int, _z: int)

Constructs valid node

Parameters:
  • _d (int)

  • _x (int)

  • _y (int)

  • _z (int)

__init__(a0: QgsPointCloudNodeId)
Parameters:

a0 (QgsPointCloudNodeId)

d(self) int[source]

Returns d

Return type:

int

static fromString(str: str | None) QgsPointCloudNodeId[source]

Creates node from string

Parameters:

str (Optional[str])

Return type:

QgsPointCloudNodeId

isValid(self) bool[source]

Returns whether node is valid

Return type:

bool

parentNode(self) QgsPointCloudNodeId[source]

Returns the parent of the node

Added in version 3.20.

Return type:

QgsPointCloudNodeId

toString(self) str[source]

Encode node to string

Return type:

str

x(self) int[source]

Returns x

Return type:

int

y(self) int[source]

Returns y

Return type:

int

z(self) int[source]

Returns z

Return type:

int