Functions | |
template<typename dist_t , typename pos_t , class distfun_t > | |
void | swap (GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t > &a, GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t > &b) |
void std::swap | ( | GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t > & | a, |
GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t > & | b | ||
) |
Swap two GeographicLib::NearestNeighbor objects.
dist_t | the type used for measuring distances. |
pos_t | the type for specifying the positions of points. |
distfun_t | the type for a function object which calculates distances between points. |
[in,out] | a | the first GeographicLib::NearestNeighbor to swap. |
[in,out] | b | the second GeographicLib::NearestNeighbor to swap. |
Definition at line 827 of file NearestNeighbor.hpp.