Location vector. More...
#include <helios_vector_types.h>
Public Member Functions | |
Location () | |
Default constructor. | |
Location (float latitude_deg, float longitude_deg, float UTC_offset) | |
latitude/longitude/UTC constructor | |
bool | operator== (const helios::Location &c) const noexcept |
check for equality of two locations | |
bool | operator!= (const helios::Location &c) const noexcept |
check for inequality of two locations | |
Data Fields | |
float | latitude_deg |
Latitude in degrees (+northern hemisphere, -southern hemisphere) | |
float | longitude_deg |
Longitude in degrees (+western hemisphere, -eastern hemisphere) | |
float | UTC_offset |
Offset from UTC in hours (+moving West) | |
Friends | |
std::ostream & | operator<< (std::ostream &os, helios::Location const &t) |
Write Location to output stream. | |
Location vector.
Definition at line 1933 of file helios_vector_types.h.
|
inline |
Default constructor.
Definition at line 1943 of file helios_vector_types.h.
|
inline |
latitude/longitude/UTC constructor
[in] | latitude_deg | Latitude in degrees (+northern hemisphere, -southern hemisphere) |
[in] | longitude_deg | Longitude in degrees (+western hemisphere, -eastern hemisphere) |
[in] | UTC_offset | Offset from UTC in hours (+moving West) |
Definition at line 1955 of file helios_vector_types.h.
|
inlinenoexcept |
check for inequality of two locations
Definition at line 1988 of file helios_vector_types.h.
|
inlinenoexcept |
check for equality of two locations
Definition at line 1984 of file helios_vector_types.h.
|
friend |
Write Location to output stream.
Definition at line 1968 of file helios_vector_types.h.
float helios::Location::latitude_deg |
Latitude in degrees (+northern hemisphere, -southern hemisphere)
Definition at line 1936 of file helios_vector_types.h.
float helios::Location::longitude_deg |
Longitude in degrees (+western hemisphere, -eastern hemisphere)
Definition at line 1938 of file helios_vector_types.h.
float helios::Location::UTC_offset |
Offset from UTC in hours (+moving West)
Definition at line 1940 of file helios_vector_types.h.