|
GeographicLib
1.49
|
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.
References GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t >::swap().
Referenced by GeographicLib::AlbersEqualArea::AlbersEqualArea(), GeographicLib::GeodesicExact::ArcDirectLine(), GeographicLib::Geodesic::ArcDirectLine(), GeographicLib::Math::atan2d(), GeographicLib::Geoid::CacheClear(), GeographicLib::Rhumb::GenDirect(), GeographicLib::Math::hypot(), GeographicLib::LambertConformalConic::LambertConformalConic(), GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t >::ResetStatistics(), GeographicLib::EllipticFunction::RF(), GeographicLib::EllipticFunction::RG(), GeographicLib::EllipticFunction::sncndn(), GeographicLib::Math::swab(), GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t >::swap(), GeographicLib::NormalGravity::V0(), and GeographicLib::Geocentric::WGS84().
1.8.13