|
CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
|
#include <nanoflann.hpp>
Public Types | |
| using | DistanceType = _DistanceType |
| using | IndexType = _IndexType |
| using | CountType = _CountType |
Public Member Functions | |
| KNNResultSet (CountType capacity_) | |
| void | init (IndexType *indices_, DistanceType *dists_) |
| CountType | size () const |
| bool | empty () const |
| bool | full () const |
| bool | addPoint (DistanceType dist, IndexType index) |
| DistanceType | worstDist () const |
| void | sort () |
Private Attributes | |
| IndexType * | indices |
| DistanceType * | dists |
| CountType | capacity |
| CountType | count |
Result set for KNN searches (N-closest neighbors)
Definition at line 199 of file nanoflann.hpp.
| using nanoflann::KNNResultSet< _DistanceType, _IndexType, _CountType >::CountType = _CountType |
Definition at line 204 of file nanoflann.hpp.
| using nanoflann::KNNResultSet< _DistanceType, _IndexType, _CountType >::DistanceType = _DistanceType |
Definition at line 202 of file nanoflann.hpp.
| using nanoflann::KNNResultSet< _DistanceType, _IndexType, _CountType >::IndexType = _IndexType |
Definition at line 203 of file nanoflann.hpp.
|
inlineexplicit |
Definition at line 213 of file nanoflann.hpp.
|
inline |
Called during search to add an element matching the criteria.
If defined and two points have the same distance, the one with the lowest-index will be returned first.
Definition at line 234 of file nanoflann.hpp.
|
inline |
Definition at line 226 of file nanoflann.hpp.
|
inline |
Definition at line 227 of file nanoflann.hpp.
|
inline |
Definition at line 218 of file nanoflann.hpp.
Referenced by nanoflann::KDTreeSingleIndexAdaptor< metric_t, self_t, row_major ? MatrixType::ColsAtCompileTime :MatrixType::RowsAtCompileTime, IndexType >::knnSearch(), and nanoflann::KDTreeEigenMatrixAdaptor< MatrixType, DIM, Distance, row_major >::query().
|
inline |
Definition at line 225 of file nanoflann.hpp.
|
inline |
Definition at line 278 of file nanoflann.hpp.
|
inline |
Returns the worst distance among found solutions if the search result is full, or the maximum possible distance, if not full yet.
Definition at line 271 of file nanoflann.hpp.
|
private |
Definition at line 209 of file nanoflann.hpp.
Referenced by addPoint(), full(), KNNResultSet(), and worstDist().
|
private |
Definition at line 210 of file nanoflann.hpp.
Referenced by addPoint(), empty(), full(), init(), KNNResultSet(), size(), and worstDist().
|
private |
Definition at line 208 of file nanoflann.hpp.
Referenced by addPoint(), init(), KNNResultSet(), and worstDist().
|
private |
Definition at line 207 of file nanoflann.hpp.
Referenced by addPoint(), init(), and KNNResultSet().