#ifndef _MATH_H
#define _MATH_H
static char Math_h_id[] = "$Header: /usr/tiburon/xPlatform/utils/RCS/Math.h,v 1.3 1997/04/09 16:34:48 oreilly Exp pean $";

/*
$Log: Math.h,v $
Revision 1.3  1997/04/09 16:34:48  oreilly
include "trig.h"

 * Revision 1.2  96/10/28  09:00:15  09:00:15  oreilly (Thomas C. O'Reilly)
 * Math utilities
 * 
 * Revision 1.1  96/08/14  13:30:39  13:30:39  oreilly (Thomas C. O'Reilly)
 * Initial revision
 * 
*/

#include <math.h>
#include "trig.h"

typedef double Radians;

class Math
{
  public:
  
  static double TwoPi;
  static double RadsPerDeg;
  
  // Normalize angle so it is in range 0 to 2PI
  static void zeroToTwoPi(Radians *angle);

  // Normalize angle so it is in range -PI to PI
  static void minusPiToPi(Radians *pitch);

  // Angular separation in clockwise direction
  static Radians angularSeparation(Radians start, Radians stop);
  
};

#endif
