LuciadCPillar 2024.0.08
|
An azimuth: degrees, clockwise from north/up/Y-axis. More...
#include <luciad/cartesian/Azimuth.h>
Public Member Functions | |
Azimuth (const Angle &angle) | |
Creates an azimuth based on an angle. More... | |
Azimuth (const Azimuth &azimuth)=default | |
Creates an azimuth based on an angle, expressed in degrees. More... | |
Azimuth (double degrees) | |
Create an Azimuth based on the given azimuth value in degrees. More... | |
double | getDegrees () const |
Returns the value in degrees. More... | |
double | getRadians () const |
Returns the value in radians. More... | |
bool | operator!= (const Azimuth &other) const |
Azimuth | operator* (const double scalar) const |
Azimuth & | operator*= (const double scalar) |
Azimuth | operator+ (const Azimuth &other) const |
Azimuth & | operator+= (const Azimuth &other) |
Azimuth | operator- () const |
Azimuth | operator- (const Azimuth &other) const |
Azimuth & | operator-= (const Azimuth &other) |
Azimuth | operator/ (const double scalar) const |
Azimuth & | operator/= (const double scalar) |
bool | operator< (const Azimuth &other) const |
bool | operator<= (const Azimuth &other) const |
Azimuth & | operator= (const Angle &other) |
Azimuth & | operator= (const Azimuth &other)=default |
Azimuth & | operator= (const double arg) noexcept |
bool | operator== (const Azimuth &other) const |
bool | operator> (const Azimuth &other) const |
bool | operator>= (const Azimuth &other) const |
Static Public Member Functions | |
static Azimuth | fromRadians (double radians) |
Creates an Azimuth from an azimuth value in radians. More... | |
An azimuth: degrees, clockwise from north/up/Y-axis.
luciad::Azimuth::Azimuth | ( | double | degrees | ) |
Create an Azimuth based on the given azimuth value in degrees.
degrees | an angle in degree |
luciad::InvalidArgumentException | when degrees is NaN or infinite. |
|
default |
Creates an azimuth based on an angle, expressed in degrees.
azimuth | the azimuth value. |
luciad::Azimuth::Azimuth | ( | const Angle & | angle | ) |
Creates an azimuth based on an angle.
angle | the angle value. |
|
static |
Creates an Azimuth from an azimuth value in radians.
radians | an azimuth in radians |
luciad::InvalidArgumentException | when radians is NaN or infinite. |
|
inline |
Returns the value in degrees.
double luciad::Azimuth::getRadians | ( | ) | const |
Returns the value in radians.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |