#include <SimData/Namespace.h>#include <cmath>Go to the source code of this file.
Functions | |
| template<typename T> T | absolute (T v) |
| return the minimum of two values, equivilant to std::min. | |
| template<typename T> T | minimum (T lhs, T rhs) |
| return the minimum of two values, equivilant to std::min. | |
| template<typename T> T | maximum (T lhs, T rhs) |
| return the maximum of two values, equivilant to std::max. | |
| template<typename T> T | clampTo (T v, T minimum, T maximum) |
| template<typename T> T | clampAbove (T v, T minimum) |
| template<typename T> T | clampBelow (T v, T maximum) |
| template<typename T> T | sign (T v) |
| template<typename T> T | square (T v) |
| template<typename T> T | signedSquare (T v) |
| template<typename T> T | toRadians (T deg) |
| template<typename T> T | toDegrees (T rad) |
| template<typename T> T | inDegrees (T angle) |
| template<typename T> T | inRadians (T angle) |
| template<typename T> void | swap (T &a, T &b) |
| bool | isNaN (float v) |
| bool | isNaN (double v) |
Variables | |
| NAMESPACE_SIMDATA class | Vector3 |
| const double | PI = 3.14159265358979323846 |
| const double | PI_2 = 1.57079632679489661923 |
| const double | PI_4 = 0.78539816339744830962 |
|
||||||||||
|
return the minimum of two values, equivilant to std::min. std::min not used because of STL implementation under IRIX contains no std::min. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
return the maximum of two values, equivilant to std::max. std::max not used because of STL implementation under IRIX contains no std::max. |
|
||||||||||||||||
|
return the minimum of two values, equivilant to std::min. std::min not used because of STL implementation under IRIX contains no std::min. |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:40 2003, using Doxygen 1.2.18. |