Homepage Demos Overview Downloads Tutorials Reference
Credits

Measures.h File Reference

#include <math.h>

Include dependency graph for Measures.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DualCoding

Classes

class  AngPi
 Circular arithmetic on angles between 0 and pi (180 degrees). More...
class  AngTwoPi
 Circular arithmetic on angles between 0 and two pi (360 degrees). More...
class  AngSignPi
 Circular arithmetic on angles between -pi and pi (360 degrees). More...

Typedefs

typedef float DualCoding::coordinate_t
 type used for positional coordinates
typedef float DualCoding::orientation_t
 type used for orientation values (0 to Pi)
typedef float DualCoding::direction_t
 type used for direction values (0 to 2*Pi)
typedef coordinate_t DualCoding::Slope
 type used for ratio of coordinate offsets

Functions

AngPi DualCoding::angdist (AngPi const &arg1, AngPi const &arg2)
 Angular distance: value is between 0 and pi.
AngPi DualCoding::angdist (AngTwoPi const &arg1, AngTwoPi const &arg2)
 Angular distance: value is between 0 and pi.
AngPi DualCoding::angdist (AngSignPi const &arg1, AngSignPi const &arg2)
 Angular distance: value is between 0 and pi.

Variables

const direction_t DualCoding::Pi = M_PI
 shorthand for M_PI from math.h
const direction_t DualCoding::TwoPi = 2*M_PI
 shorthand for 2*M_PI
const Slope DualCoding::BIG_SLOPE = 5000.0
 slopes larger than this are considered vertical, or in other words, infinite slopes are rounded to this


DualCoding 3.0beta
Generated Wed Oct 4 00:02:05 2006 by Doxygen 1.4.7