mimas::angle Class Reference

Angle class. More...

#include <angle.h>

Collaboration diagram for mimas::angle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 angle (void)
 Default constructor.
 angle (double aAngle)
 Constructor.
 angle (double y, double x)
 operator double () const
angle operator+ (angle &a2)
angle operator- (angle &a2)
angle operator- (void)
angleoperator+= (const angle &right)
angleoperator+= (const double &right)

Detailed Description

Angle class.

Providing different operators for angles. The operators always will keep the value within $[-pi,pi)$.

Author:
Stuart Meikle (stu@stumeikle.org)
Date:
Wed Mar 8 15:45:13 2000 BST

Definition at line 20 of file angle.h.


Constructor & Destructor Documentation

mimas::angle::angle ( void   )  [inline]

Default constructor.

Definition at line 32 of file angle.h.

Referenced by operator-().

mimas::angle::angle ( double  aAngle  )  [inline]

Constructor.

Parameters:
aAngle Initial value. $\mathrm{value}\in[-pi,pi)$ must hold.

Definition at line 36 of file angle.h.

mimas::angle::angle ( double  y,
double  x 
) [inline]

Definition at line 38 of file angle.h.


Member Function Documentation

mimas::angle::operator double (  )  const [inline]

Definition at line 44 of file angle.h.

angle mimas::angle::operator+ ( angle a2  ) 

angle mimas::angle::operator- ( angle a2  ) 

angle mimas::angle::operator- ( void   )  [inline]

Definition at line 49 of file angle.h.

References angle().

Here is the call graph for this function:

angle& mimas::angle::operator+= ( const angle right  ) 

angle& mimas::angle::operator+= ( const double right  ) 


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:24 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...