QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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 58 of file qgspointcloudindex.h.
QgsPointCloudNodeId::QgsPointCloudNodeId | ( | ) |
Constructs invalid node.
Definition at line 34 of file qgspointcloudindex.cpp.
QgsPointCloudNodeId::QgsPointCloudNodeId | ( | int | _d, |
int | _x, | ||
int | _y, | ||
int | _z | ||
) |
Constructs valid node.
Definition at line 41 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::d | ( | ) | const |
Returns d.
Definition at line 66 of file qgspointcloudindex.cpp.
|
static |
Creates node from string.
Definition at line 53 of file qgspointcloudindex.cpp.
|
inline |
Returns whether node is valid.
Definition at line 67 of file qgspointcloudindex.h.
|
inline |
Definition at line 71 of file qgspointcloudindex.h.
QgsPointCloudNodeId QgsPointCloudNodeId::parentNode | ( | ) | const |
Returns the parent of the node.
Definition at line 48 of file qgspointcloudindex.cpp.
QString QgsPointCloudNodeId::toString | ( | ) | const |
Encode node to string.
Definition at line 61 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::x | ( | ) | const |
Returns x.
Definition at line 71 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::y | ( | ) | const |
Returns y.
Definition at line 76 of file qgspointcloudindex.cpp.
int QgsPointCloudNodeId::z | ( | ) | const |
Returns z.
Definition at line 81 of file qgspointcloudindex.cpp.