mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:50: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
 | 
