#include <cmath>
#include "Real.h"
Go to the source code of this file.
|
| rl |
| Robotics Library.
|
|
| rl::math |
| Common mathematical functions.
|
|
|
enum | rl::math::Unit {
rl::math::UNIT_NONE,
rl::math::UNIT_METER,
rl::math::UNIT_KILOGRAM,
rl::math::UNIT_SECOND,
rl::math::UNIT_AMPERE,
rl::math::UNIT_KELVIN,
rl::math::UNIT_MOLE,
rl::math::UNIT_CANDELA,
rl::math::UNIT_RADIAN,
rl::math::UNIT_HERTZ,
rl::math::UNIT_NEWTON,
rl::math::UNIT_VOLT,
rl::math::UNIT_CELSIUS,
rl::math::UNIT_METER_PER_SECOND,
rl::math::UNIT_METER_PER_SECOND_SQUARED,
rl::math::UNIT_RADIAN_PER_SECOND,
rl::math::UNIT_RADIAN_PER_SECOND_SQUARED,
rl::math::UNIT_NEWTON_SECOND,
rl::math::UNIT_NEWTON_METER_SECOND,
rl::math::UNIT_NEWTON_METER
} |
|
|
void | rl::math::cartesianToPolar (const Real &x, const Real &y, Real &r, Real &theta) |
|
void | rl::math::cartesianToSpherical (const Real &x, const Real &y, const Real &z, Real &rho, Real &psi, Real &theta) |
|
void | rl::math::polarToCartesian (const Real &r, const Real &theta, Real &x, Real &y) |
|
void | rl::math::sphericalToCartesian (const Real &rho, const Real &psi, const Real &theta, Real &x, Real &y, Real &z) |
|