QGIS API Documentation 3.99.0-Master (752b475928d)
Loading...
Searching...
No Matches
QgsPointCloudNodeId Class Reference

Represents an indexed point cloud node's position in octree. More...

#include <qgspointcloudindex.h>

Public Member Functions

 QgsPointCloudNodeId ()
 Constructs invalid node.
 QgsPointCloudNodeId (int _d, int _x, int _y, int _z)
 Constructs valid node.
int d () const
 Returns d.
bool isValid () const
 Returns whether node is valid.
bool operator== (QgsPointCloudNodeId other) const
QgsPointCloudNodeId parentNode () const
 Returns the parent of the node.
QString toString () const
 Encode node to string.
int x () const
 Returns x.
int y () const
 Returns y.
int z () const
 Returns z.

Static Public Member Functions

static QgsPointCloudNodeId fromString (const QString &str)
 Creates node from string.

Detailed Description

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

Note
The API is considered EXPERIMENTAL and can be changed without a notice
Since
QGIS 3.18

Definition at line 55 of file qgspointcloudindex.h.

Constructor & Destructor Documentation

◆ QgsPointCloudNodeId() [1/2]

QgsPointCloudNodeId::QgsPointCloudNodeId ( )

Constructs invalid node.

Definition at line 38 of file qgspointcloudindex.cpp.

◆ QgsPointCloudNodeId() [2/2]

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

Constructs valid node.

Definition at line 44 of file qgspointcloudindex.cpp.

Member Function Documentation

◆ d()

int QgsPointCloudNodeId::d ( ) const

Returns d.

Definition at line 69 of file qgspointcloudindex.cpp.

◆ fromString()

QgsPointCloudNodeId QgsPointCloudNodeId::fromString ( const QString & str)
static

Creates node from string.

Definition at line 56 of file qgspointcloudindex.cpp.

◆ isValid()

bool QgsPointCloudNodeId::isValid ( ) const
inline

Returns whether node is valid.

Definition at line 64 of file qgspointcloudindex.h.

◆ operator==()

bool QgsPointCloudNodeId::operator== ( QgsPointCloudNodeId other) const
inline

Definition at line 68 of file qgspointcloudindex.h.

◆ parentNode()

QgsPointCloudNodeId QgsPointCloudNodeId::parentNode ( ) const

Returns the parent of the node.

Since
QGIS 3.20

Definition at line 51 of file qgspointcloudindex.cpp.

◆ toString()

QString QgsPointCloudNodeId::toString ( ) const

Encode node to string.

Definition at line 64 of file qgspointcloudindex.cpp.

◆ x()

int QgsPointCloudNodeId::x ( ) const

Returns x.

Definition at line 74 of file qgspointcloudindex.cpp.

◆ y()

int QgsPointCloudNodeId::y ( ) const

Returns y.

Definition at line 79 of file qgspointcloudindex.cpp.

◆ z()

int QgsPointCloudNodeId::z ( ) const

Returns z.

Definition at line 84 of file qgspointcloudindex.cpp.


The documentation for this class was generated from the following files: