Class KortexMathUtil

Class Documentation

class KortexMathUtil

Public Functions

inline KortexMathUtil()
inline ~KortexMathUtil()

Public Static Functions

static double toRad(double degree)
static double toDeg(double rad)
static int getNumberOfTurns(double rad_not_wrapped)
static double wrapRadiansFromMinusPiToPi(double rad_not_wrapped)
static double wrapRadiansFromMinusPiToPi(double rad_not_wrapped, int &number_of_turns)
static double wrapDegreesFromZeroTo360(double deg_not_wrapped)
static double wrapDegreesFromZeroTo360(double deg_not_wrapped, int &number_of_turns)
static double relative_position_from_absolute(double absolute_position, double min_value, double max_value)
static double absolute_position_from_relative(double relative_position, double min_value, double max_value)