BoB robotics
The Brains on Board robotics library
units::angle Namespace Reference

namespace for unit types and containers representing angle values More...

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::angle_unitradians
 
Units (full names singular)
typedef radians radian
 
Units (abbreviated)
typedef radians rad
 
Unit Containers
typedef unit_t< radianradian_t
 
typedef unit_t< degree > degree_t
 
typedef unit_t< arcminute > arcminute_t
 
typedef unit_t< arcsecond > arcsecond_t
 
typedef unit_t< milliarcsecond > milliarcsecond_t
 
typedef unit_t< turn > turn_t
 
typedef unit_t< gradian > gradian_t
 

Functions

std::ostream & operator<< (std::ostream &os, const radian_t &obj)
 
std::string to_string (const radian_t &obj)
 
std::ostream & operator<< (std::ostream &os, const degree_t &obj)
 
std::string to_string (const degree_t &obj)
 
std::ostream & operator<< (std::ostream &os, const arcminute_t &obj)
 
std::string to_string (const arcminute_t &obj)
 
std::ostream & operator<< (std::ostream &os, const arcsecond_t &obj)
 
std::string to_string (const arcsecond_t &obj)
 
std::ostream & operator<< (std::ostream &os, const milliarcsecond_t &obj)
 
std::string to_string (const milliarcsecond_t &obj)
 
std::ostream & operator<< (std::ostream &os, const turn_t &obj)
 
std::string to_string (const turn_t &obj)
 
std::ostream & operator<< (std::ostream &os, const gradian_t &obj)
 
std::string to_string (const gradian_t &obj)
 

Detailed Description

namespace for unit types and containers representing angle values

The SI unit for angle is radians, and the corresponding base_unit category is angle_unit.

See also
See unit_t for more information on unit type containers.