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 | |
| Location (float latitude_deg, float longitude_deg, float UTC_offset, float altitude_m) | |
| latitude/longitude/UTC/altitude 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) | |
| float | altitude_m |
| Altitude of the local Cartesian origin, in meters above sea level (default 0) | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, helios::Location const &t) |
| Write Location to output stream. | |
Location vector.
Definition at line 1938 of file helios_vector_types.h.
|
inline |
Default constructor.
Definition at line 1950 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 1963 of file helios_vector_types.h.
|
inline |
latitude/longitude/UTC/altitude 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) |
| [in] | altitude_m | Altitude of the local Cartesian origin, in meters above sea level |
Definition at line 1978 of file helios_vector_types.h.
|
inlinenoexcept |
check for inequality of two locations
Definition at line 2024 of file helios_vector_types.h.
|
inlinenoexcept |
check for equality of two locations
Definition at line 2020 of file helios_vector_types.h.
|
friend |
Write Location to output stream.
Definition at line 1992 of file helios_vector_types.h.
| float helios::Location::altitude_m |
Altitude of the local Cartesian origin, in meters above sea level (default 0)
Definition at line 1947 of file helios_vector_types.h.
| float helios::Location::latitude_deg |
Latitude in degrees (+northern hemisphere, -southern hemisphere)
Definition at line 1941 of file helios_vector_types.h.
| float helios::Location::longitude_deg |
Longitude in degrees (+western hemisphere, -eastern hemisphere)
Definition at line 1943 of file helios_vector_types.h.
| float helios::Location::UTC_offset |
Offset from UTC in hours (+moving West)
Definition at line 1945 of file helios_vector_types.h.