Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::datatypes::Angle Struct Reference

Datatype: Angle in either radians or degrees. More...

#include <rerun/datatypes/angle.hpp>

Public Member Functions

 Angle (const Angle &other)
 Copy constructor.
 
Angleoperator= (const Angle &other) noexcept
 
 Angle (Angle &&other) noexcept
 
Angleoperator= (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)
 

Detailed Description

Datatype: Angle in either radians or degrees.


The documentation for this struct was generated from the following file: