mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 06:40:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			400 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			400 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
namespace scwx
 | 
						|
{
 | 
						|
namespace common
 | 
						|
{
 | 
						|
 | 
						|
struct Coordinate
 | 
						|
{
 | 
						|
   double latitude_;
 | 
						|
   double longitude_;
 | 
						|
 | 
						|
   Coordinate(double latitude, double longitude) :
 | 
						|
       latitude_ {latitude}, longitude_ {longitude}
 | 
						|
   {
 | 
						|
   }
 | 
						|
 | 
						|
   bool operator==(const Coordinate& o) const
 | 
						|
   {
 | 
						|
      return latitude_ == o.latitude_ && longitude_ == o.longitude_;
 | 
						|
   }
 | 
						|
};
 | 
						|
 | 
						|
} // namespace common
 | 
						|
} // namespace scwx
 |