Utility and error-handling functions
[libplayerc++]


Detailed Description

Helper functions when using the library.


Namespaces

namespace  std

Functions

double PlayerCc::rtod (double r)
 Convert radians to degrees.
double PlayerCc::dtor (double r)
 Convert degrees to radians.
double PlayerCc::normalize (double z)
 Normalize angle to domain -pi, pi.
template<typename T>
PlayerCc::min (T a, T b)
 Return the minimum of a, b.
template<typename T>
PlayerCc::max (T a, T b)
 Return the maximum of a, b.
template<typename T>
PlayerCc::limit (T a, T min, T max)
 Limit a value to the range of min, max.

Last updated 12 September 2005 21:38:45