The IpeGeo module provides a few classes for constant-size geometric primitives, such as vector, axis-aligned rectangles, lines, rays, line segments, etc.
double IpePi 3.1415926535897932385 |
The constant pi.
double IpeTwoPi 6.2831853071795862 |
The constant 2 * pi.
double IpeHalfPi 1.5707963267948966 |
The constant pi / 2.
typedef double IpeScalar |
Type of coordinates in IpeVectors.
T IpeMax | ( | const T & | lhs, | |
const T & | rhs | |||
) | [inline] |
Maximum of two values.
T IpeMin | ( | const T & | lhs, | |
const T & | rhs | |||
) | [inline] |
Minimum of two values.
double IpeAbs | ( | double | val | ) | [inline] |
Absolute value.