#include <cmath>
#include "stdafx.h"
#include "adll.h"
Classes | |
struct | INT_PAIR |
Simple int pair. More... | |
struct | INT_VEC |
Simple int vec. More... | |
class | CRangeType |
Store a range A pair of numbers storing the start/end values. More... | |
class | CVector3D |
Mange a 3D vector. More... | |
class | CAngle3D |
Mange a 3D set of angles (pan, tilt, roll). More... | |
Functions | |
bool | is_close_to (const unit a, const unit b) |
Are two values close to being equal? | |
bool | is_close_to_zero (const unit a) |
Is the value close to zero? | |
unit | angle_range (unit f) |
unit | angle_diff (unit a, unit b) |
(c) 2007-2008 oP group Germany GbR. All rights reserved.
This source code is provided "as is" with no warranty and must not be distributed without written permission.
unit angle_diff | ( | unit | a, | |
unit | b | |||
) |
a | First angle. | |
b | Second angle. |
unit angle_range | ( | unit | f | ) |
f | Angle value. |
bool is_close_to | ( | const unit | a, | |
const unit | b | |||
) | [inline] |
Are two values close to being equal?
a | First value. | |
b | Second value. |
bool is_close_to_zero | ( | const unit | a | ) | [inline] |
Is the value close to zero?
a | Value being checked. |