From 52bd14e6d5256f1b7e77f88840a1928946762f8d Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 10 Sep 2022 23:40:27 -0500 Subject: [PATCH] Coordinate documentation --- wxdata/include/scwx/common/geographic.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wxdata/include/scwx/common/geographic.hpp b/wxdata/include/scwx/common/geographic.hpp index 29c6c367..639114f0 100644 --- a/wxdata/include/scwx/common/geographic.hpp +++ b/wxdata/include/scwx/common/geographic.hpp @@ -5,10 +5,13 @@ namespace scwx namespace common { +/** + * @brief Coordinate type to hold latitude and longitude of a location. + */ struct Coordinate { - double latitude_; - double longitude_; + double latitude_; ///< Latitude in degrees + double longitude_; ///< Longitude in degrees Coordinate(double latitude, double longitude) : latitude_ {latitude}, longitude_ {longitude}