Rerun C++ SDK
|
Datatype: Angle in either radians or degrees. More...
#include <rerun/datatypes/angle.hpp>
Public Member Functions | |
Angle (const Angle &other) | |
Copy constructor. | |
Angle & | operator= (const Angle &other) noexcept |
Angle (Angle &&other) noexcept | |
Angle & | operator= (Angle &&other) noexcept |
void | swap (Angle &other) noexcept |
const float * | get_radians () const |
Return a pointer to radians if the union is in that state, otherwise nullptr . | |
const float * | get_degrees () const |
Return a pointer to degrees if the union is in that state, otherwise nullptr . | |
Static Public Member Functions | |
static Angle | radians (float radians) |
static Angle | degrees (float degrees) |
Datatype: Angle in either radians or degrees.