QGIS API Documentation 3.41.0-Master (d2aaa9c6e02)
|
Represents a 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. | |
Represents a indexed point cloud node's position in octree.
Definition at line 56 of file qgspointcloudindex.h.
QgsPointCloudNodeId::QgsPointCloudNodeId | ( | ) |
Constructs invalid node.
Definition at line 37 of file qgspointcloudindex.cpp.
QgsPointCloudNodeId::QgsPointCloudNodeId | ( | int | _d, |
int | _x, | ||
int | _y, | ||
int | _z | ||
) |
Constructs valid node.
Definition at line 44 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::d | ( | ) | const |
Returns d.
Definition at line 69 of file qgspointcloudindex.cpp.
|
static |
Creates node from string.
Definition at line 56 of file qgspointcloudindex.cpp.
|
inline |
Returns whether node is valid.
Definition at line 65 of file qgspointcloudindex.h.
|
inline |
Definition at line 69 of file qgspointcloudindex.h.
QgsPointCloudNodeId QgsPointCloudNodeId::parentNode | ( | ) | const |
Returns the parent of the node.
Definition at line 51 of file qgspointcloudindex.cpp.
QString QgsPointCloudNodeId::toString | ( | ) | const |
Encode node to string.
Definition at line 64 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::x | ( | ) | const |
Returns x.
Definition at line 74 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::y | ( | ) | const |
Returns y.
Definition at line 79 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::z | ( | ) | const |
Returns z.
Definition at line 84 of file qgspointcloudindex.cpp.