mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 12:40:06 +00:00 
			
		
		
		
	 90c8c0183a
			
		
	
	
		90c8c0183a
		
	
	
	
	
		
			
			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
 |