![]() |
Quetzal-CoaTL
The Coalescence Template Library
|
#include <quetzal/geography/resolution.hpp>
Resolution of a spatial grid.
Public Types | |
using | value_type = T |
Public Member Functions | |
constexpr | resolution (value_type lat, value_type lon) |
Constructor. | |
constexpr value_type | lat () const noexcept |
Gets latitude resolution. | |
constexpr value_type | lon () const noexcept |
Gets longitude resolution. | |
constexpr resolution & | lat (value_type value) noexcept |
Sets latitude resolution. | |
constexpr resolution & | lon (value_type value) noexcept |
Sets longitude resolution. | |
constexpr bool | operator== (const resolution &other) const noexcept |
EqualityComparable. | |
constexpr bool | operator!= (const resolution &other) const noexcept |
Unequality comparison operator. | |
|
inlineexplicitconstexpr |
Constructor.
lat | the resolution of the spatial grid latitude |
lon | the resolution of the spatial grid longitude |
|
inlineconstexprnoexcept |
Gets latitude resolution.
|
inlineconstexprnoexcept |
Sets latitude resolution.
value | the new value for latitude resolution. |
|
inlineconstexprnoexcept |
Sets longitude resolution.
value | the new value for longitude resolution. |
|
inlineconstexprnoexcept |
Unequality comparison operator.
Checks if two resolutions objects are equals
|
inlineconstexprnoexcept |
EqualityComparable.
Checks if two resolutions objects are equals