![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Structure used during nearest neighbour search. More...
#include <DgmOctree.h>

Public Member Functions | |
| PointDescriptor () | |
| Default constructor. More... | |
| PointDescriptor (const CCVector3 *P, unsigned index) | |
| Constructor with point and its index. More... | |
| PointDescriptor (const CCVector3 *P, unsigned index, double d2) | |
| Constructor with point, its index and square distance. More... | |
Static Public Member Functions | |
| static bool | distComp (const PointDescriptor &a, const PointDescriptor &b) |
| Comparison operator. More... | |
Public Attributes | |
| const CCVector3 * | point |
| Point. More... | |
| unsigned | pointIndex |
| Point index. More... | |
| double | squareDistd |
| Point associated distance value. More... | |
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).
Definition at line 101 of file DgmOctree.h.
|
inline |
Default constructor.
Definition at line 110 of file DgmOctree.h.
|
inline |
Constructor with point and its index.
Definition at line 113 of file DgmOctree.h.
|
inline |
Constructor with point, its index and square distance.
Definition at line 117 of file DgmOctree.h.
|
inlinestatic |
Comparison operator.
| a | point A |
| b | point B |
Definition at line 126 of file DgmOctree.h.
References squareDistd.
Referenced by ComputeCorePointDescriptor(), qM3C2Tools::ComputeStatistics(), cloudViewer::DgmOctree::findNearestNeighborsStartingFromCell(), and cloudViewer::DgmOctree::findNeighborsInASphereStartingFromCell().
| const CCVector3* cloudViewer::DgmOctree::PointDescriptor::point |
Point.
Definition at line 103 of file DgmOctree.h.
Referenced by cloudViewer::DgmOctree::findNeighborsInASphereStartingFromCell(), and ccTrace::optimizeSegment().
| unsigned cloudViewer::DgmOctree::PointDescriptor::pointIndex |
| double cloudViewer::DgmOctree::PointDescriptor::squareDistd |
Point associated distance value.
Definition at line 107 of file DgmOctree.h.
Referenced by distComp(), and cloudViewer::DgmOctree::findNeighborsInASphereStartingFromCell().