GeographicLib 2.1.2
|
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 826 of file NearestNeighbor.hpp.
References GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t >::swap().
Referenced by GeographicLib::Math::atan2d(), GeographicLib::Geoid::CacheClear(), GeographicLib::EllipticFunction::RF(), GeographicLib::EllipticFunction::sncndn(), GeographicLib::Math::swab(), GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t >::swap(), and GeographicLib::NormalGravity::V0().