|
CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
|
#include <nanoflann.hpp>
Public Member Functions | |
| ResultItem ()=default | |
| ResultItem (const IndexType index, const DistanceType distance) | |
Data Fields | |
| IndexType | first |
| Index of the sample in the dataset. | |
| DistanceType | second |
| Distance from sample to query point. | |
Each result element in RadiusResultSet. Note that distances and indices are named first and second to keep backward-compatibility with the std::pair<> type used in the past. In contrast, this structure is ensured to be std::is_standard_layout so it can be used in wrappers to other languages. See: https://github.com/jlblancoc/nanoflann/issues/166
Definition at line 180 of file nanoflann.hpp.
|
default |
|
inline |
Definition at line 183 of file nanoflann.hpp.
| IndexType nanoflann::ResultItem< IndexType, DistanceType >::first |
Index of the sample in the dataset.
Definition at line 188 of file nanoflann.hpp.
Referenced by ResultItem().
| DistanceType nanoflann::ResultItem< IndexType, DistanceType >::second |
Distance from sample to query point.
Definition at line 189 of file nanoflann.hpp.
Referenced by ResultItem().