![]() |
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).
|
inline |
Default constructor.
|
inline |
Constructor with point and its index.
|
inline |
Constructor with point, its index and square distance.
|
inlinestatic |
Comparison operator.
| a | point A |
| b | point B |
References a, and squareDistd.
Referenced by ComputeCorePointDescriptor(), qM3C2Tools::ComputeStatistics(), cloudViewer::DgmOctree::findNearestNeighborsStartingFromCell(), and cloudViewer::DgmOctree::findNeighborsInASphereStartingFromCell().
| const CCVector3* cloudViewer::DgmOctree::PointDescriptor::point |
| unsigned cloudViewer::DgmOctree::PointDescriptor::pointIndex |
Point index.
Referenced by cellSFInterpolator(), ccTrace::optimizeSegment(), ccOctree::pointPicking(), and ccGenericPointCloud::pointPicking().
| double cloudViewer::DgmOctree::PointDescriptor::squareDistd |
Point associated distance value.
Referenced by cellSFInterpolator(), distComp(), cloudViewer::DgmOctree::findNeighborsInASphereStartingFromCell(), ccOctree::pointPicking(), and ccGenericPointCloud::pointPicking().