Vector of spherical coordinates (elevation,azimuth) More...
#include <helios_vector_types.h>
Public Member Functions | |
| SphericalCoord () | |
| Default constructor. | |
| SphericalCoord (float radius, float elevation_radians, float azimuth_radians) | |
| Initialize SphericalCoord by specifying radius, elevation, and azimuth. | |
| SphericalCoord (const SphericalCoord &c) | |
| Copy constructor. | |
| SphericalCoord & | operator= (const SphericalCoord &c) noexcept |
| Assignment operator. | |
| bool | operator== (const helios::SphericalCoord &c) const noexcept |
| check for equality of two spherical coordinates | |
| bool | operator!= (const helios::SphericalCoord &c) const noexcept |
| check for inequality of two spherical coordinates | |
Data Fields | |
| float | radius |
| Radius. | |
| const float & | elevation |
| Elevation angle (radians) | |
| const float & | zenith |
| Zenithal angle (radians) | |
| float | azimuth |
| Azimuthal angle (radians) | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, helios::SphericalCoord const &coord) |
| Write SphericalCoord to output stream. | |
Vector of spherical coordinates (elevation,azimuth)
Definition at line 2032 of file helios_vector_types.h.
|
inline |
Default constructor.
initializes to vertical unit vector
Definition at line 2055 of file helios_vector_types.h.
|
inline |
Initialize SphericalCoord by specifying radius, elevation, and azimuth.
| [in] | radius | Radius |
| [in] | elevation_radians | Elevation angle (radians) |
| [in] | azimuth_radians | Azimuthal angle (radians) |
Definition at line 2065 of file helios_vector_types.h.
|
inline |
Copy constructor.
Definition at line 2070 of file helios_vector_types.h.
|
inlinenoexcept |
check for inequality of two spherical coordinates
Definition at line 2123 of file helios_vector_types.h.
|
inlinenoexcept |
Assignment operator.
Definition at line 2074 of file helios_vector_types.h.
|
inlinenoexcept |
check for equality of two spherical coordinates
Definition at line 2119 of file helios_vector_types.h.
|
friend |
Write SphericalCoord to output stream.
Definition at line 2090 of file helios_vector_types.h.
| float helios::SphericalCoord::azimuth |
Azimuthal angle (radians)
Definition at line 2051 of file helios_vector_types.h.
| const float& helios::SphericalCoord::elevation |
Elevation angle (radians)
Definition at line 2044 of file helios_vector_types.h.
| float helios::SphericalCoord::radius |
Radius.
Definition at line 2039 of file helios_vector_types.h.
| const float& helios::SphericalCoord::zenith |
Zenithal angle (radians)
Definition at line 2049 of file helios_vector_types.h.