mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 05:10:06 +00:00 
			
		
		
		
	All used functions are constant, and don't require unique instantiations for thread safety.
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			430 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			430 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include <scwx/qt/util/geographic_lib.hpp>
 | 
						|
 | 
						|
namespace scwx
 | 
						|
{
 | 
						|
namespace qt
 | 
						|
{
 | 
						|
namespace util
 | 
						|
{
 | 
						|
namespace GeographicLib
 | 
						|
{
 | 
						|
 | 
						|
const ::GeographicLib::Geodesic& DefaultGeodesic()
 | 
						|
{
 | 
						|
   static const ::GeographicLib::Geodesic geodesic_ {
 | 
						|
      ::GeographicLib::Constants::WGS84_a(),
 | 
						|
      ::GeographicLib::Constants::WGS84_f()};
 | 
						|
 | 
						|
   return geodesic_;
 | 
						|
}
 | 
						|
 | 
						|
} // namespace GeographicLib
 | 
						|
} // namespace util
 | 
						|
} // namespace qt
 | 
						|
} // namespace scwx
 |