utils.h File Reference

#include <math.h>
#include <float.h>
#include <assert.h>
#include <iostream>
#include <time.h>

Go to the source code of this file.

Classes

class  TimeRemaining
 Helpful class to express remaining time to a user. Displays a progress bar with a remaining time in minutes and seconds. More...

Defines

#define PI   3.14159
#define RADIUS   6378.2064

Functions

double toRadians (double d)
 Convert given degree value into radians.
double toDegrees (double r)
 Convert given radians value into degrees.
double ieee_single (char *data2)


Define Documentation

#define PI   3.14159

#define RADIUS   6378.2064


Function Documentation

double ieee_single ( char *  data2  ) 

Convert the given character string into a single value, interpreting it using the IEEE single standard.

Parameters:
data2 Value to be converted, requires four bytes
Returns:
Interpreted value expressed as a double

double toDegrees ( double  r  ) 

Convert given radians value into degrees.

double toRadians ( double  d  ) 

Convert given degree value into radians.


Generated on Sat Feb 23 21:49:22 2008 for libprop by  doxygen 1.5.4