# opentl::math::Units Class Reference

List of all members.

## Public Member Functions
| Units ()
virtual | ~Units ()
## Static Public Member Functions
static double | toDeg (double rad)
static double | toRad (double deg)

## Constructor & Destructor Documentation

opentl::math::Units::Units | ( |  | ) | `[inline]`

virtual opentl::math::Units::~Units | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

static double opentl::math::Units::toDeg | ( | double | rad | ) | `[inline, static]`

convert a radiant value to a degree value

Parameters:

  | rad | radiant value

Returns:
  degree value

static double opentl::math::Units::toRad | ( | double | deg | ) | `[inline, static]`

convert a degree value to a radiant value

Parameters:

  | deg | degree value

Returns:
  radiant value