RBCX
Library for the RB3204-RBCX board with the ESP32 by RoboticsBrno.
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
rb::Angle Class Reference

#include <RBCXAngle.h>

Public Types

typedef float _T
 

Public Member Functions

 Angle ()
 
bool isNaN () const
 
Angleoperator+= (Angle a)
 
Angleoperator-= (Angle a)
 
Angle operator- () const
 
Angleoperator*= (_T c)
 
Angleoperator/= (_T c)
 
_T deg () const
 
_T rad () const
 

Static Public Member Functions

static Angle rad (_T r)
 
static Angle deg (_T d)
 
static Angle nan ()
 

Static Public Attributes

static const Angle Pi = Angle::rad(Angle::_T(M_PI))
 

Member Typedef Documentation

◆ _T

typedef float rb::Angle::_T

Constructor & Destructor Documentation

◆ Angle()

rb::Angle::Angle ( )
inline

Member Function Documentation

◆ deg() [1/2]

_T rb::Angle::deg ( ) const
inline

◆ deg() [2/2]

static Angle rb::Angle::deg ( _T  d)
inlinestatic

◆ isNaN()

bool rb::Angle::isNaN ( ) const
inline

◆ nan()

static Angle rb::Angle::nan ( )
inlinestatic

◆ operator*=()

Angle & rb::Angle::operator*= ( _T  c)
inline

◆ operator+=()

Angle & rb::Angle::operator+= ( Angle  a)
inline

◆ operator-()

Angle rb::Angle::operator- ( ) const
inline

◆ operator-=()

Angle & rb::Angle::operator-= ( Angle  a)
inline

◆ operator/=()

Angle & rb::Angle::operator/= ( _T  c)
inline

◆ rad() [1/2]

_T rb::Angle::rad ( ) const
inline

◆ rad() [2/2]

static Angle rb::Angle::rad ( _T  r)
inlinestatic

Member Data Documentation

◆ Pi

const Angle rb::Angle::Pi = Angle::rad(Angle::_T(M_PI))
static

The documentation for this class was generated from the following files: