|
CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
|
#include <nanoflann.hpp>
Public Types | |
| using | DistanceType = _DistanceType |
| using | IndexType = _IndexType |
Public Member Functions | |
| RadiusResultSet (DistanceType radius_, std::vector< ResultItem< IndexType, DistanceType > > &indices_dists) | |
| void | init () |
| void | clear () |
| size_t | size () const |
| size_t | empty () const |
| bool | full () const |
| bool | addPoint (DistanceType dist, IndexType index) |
| DistanceType | worstDist () const |
| ResultItem< IndexType, DistanceType > | worst_item () const |
| void | sort () |
Data Fields | |
| const DistanceType | radius |
| std::vector< ResultItem< IndexType, DistanceType > > & | m_indices_dists |
A result-set class used when performing a radius based search.
Definition at line 383 of file nanoflann.hpp.
| using nanoflann::RadiusResultSet< _DistanceType, _IndexType >::DistanceType = _DistanceType |
Definition at line 386 of file nanoflann.hpp.
| using nanoflann::RadiusResultSet< _DistanceType, _IndexType >::IndexType = _IndexType |
Definition at line 387 of file nanoflann.hpp.
|
inlineexplicit |
Definition at line 394 of file nanoflann.hpp.
|
inline |
Called during search to add an element matching the criteria.
Definition at line 415 of file nanoflann.hpp.
|
inline |
Definition at line 403 of file nanoflann.hpp.
Referenced by init().
|
inline |
Definition at line 406 of file nanoflann.hpp.
|
inline |
Definition at line 408 of file nanoflann.hpp.
|
inline |
Definition at line 402 of file nanoflann.hpp.
Referenced by RadiusResultSet().
|
inline |
Definition at line 405 of file nanoflann.hpp.
|
inline |
Definition at line 438 of file nanoflann.hpp.
|
inline |
Find the worst result (farthest neighbor) without copying or sorting Pre-conditions: size() > 0
Definition at line 427 of file nanoflann.hpp.
|
inline |
Definition at line 421 of file nanoflann.hpp.
| std::vector<ResultItem<IndexType, DistanceType> >& nanoflann::RadiusResultSet< _DistanceType, _IndexType >::m_indices_dists |
Definition at line 392 of file nanoflann.hpp.
Referenced by addPoint(), clear(), empty(), RadiusResultSet(), size(), sort(), and worst_item().
| const DistanceType nanoflann::RadiusResultSet< _DistanceType, _IndexType >::radius |
Definition at line 390 of file nanoflann.hpp.
Referenced by addPoint(), RadiusResultSet(), and worstDist().