CCCoreLib 31 May 2022
CloudCompare Core algorithms
|
Structure used during nearest neighbour search. More...
#include <DgmOctree.h>
Public Member Functions | |
PointDescriptor () | |
Default constructor. | |
PointDescriptor (const CCVector3 *P, unsigned index) | |
Constructor with point and its index. | |
PointDescriptor (const CCVector3 *P, unsigned index, double d2) | |
Constructor with point, its index and square distance. | |
Static Public Member Functions | |
static bool | distComp (const PointDescriptor &a, const PointDescriptor &b) |
Comparison operator. More... | |
Public Attributes | |
const CCVector3 * | point |
Point. | |
unsigned | pointIndex |
Point index. | |
double | squareDistd |
Point associated distance value. | |
Structure used during nearest neighbour search.
Association between a point, its index and its square distance to the query point. It has a comparison operator for fast sorting (stdlib).
|
inlinestatic |
Comparison operator.
a | point A |
b | point B |