mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:20:06 +00:00
Coordinate documentation
This commit is contained in:
parent
6cec68d968
commit
52bd14e6d5
1 changed files with 5 additions and 2 deletions
|
|
@ -5,10 +5,13 @@ namespace scwx
|
||||||
namespace common
|
namespace common
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Coordinate type to hold latitude and longitude of a location.
|
||||||
|
*/
|
||||||
struct Coordinate
|
struct Coordinate
|
||||||
{
|
{
|
||||||
double latitude_;
|
double latitude_; ///< Latitude in degrees
|
||||||
double longitude_;
|
double longitude_; ///< Longitude in degrees
|
||||||
|
|
||||||
Coordinate(double latitude, double longitude) :
|
Coordinate(double latitude, double longitude) :
|
||||||
latitude_ {latitude}, longitude_ {longitude}
|
latitude_ {latitude}, longitude_ {longitude}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue