Ipelib

#include <ipegeo.h>
Public Member Functions  
Angle ()  
Angle (double alpha)  
operator double () const  
double  degrees () const 
Angle  normalize (double lowlimit) 
bool  liesBetween (Angle small, Angle large) const 
Static Public Member Functions  
static Angle  Degrees (double alpha) 
A double that's an angle.
An Angle is really nothing more than a double. Having a separate type is sometimes useful, for instance in the Vector constructor, and this class serves as the right place for a few utility functions. It also makes it clear whether a value is in radians or in degrees.

inlineexplicit 
Construct uninitialized angle.
Referenced by Degrees().

inline 
Construct an angle (in radians).

inlinestatic 

inline 
Return value (in radians).
double Angle::degrees  (  )  const 
Referenced by ipe::StyleSheet::saveAsXml().
Angle Angle::normalize  (  double  lowlimit  ) 
Normalize the value to the range lowlimit .. lowlimit + 2 pi.
This Angle object is modified, a copy is returned.
Referenced by ipe::Painter::doDrawArc(), ipe::Snap::getLine(), and liesBetween().
When considering the positively oriented circle arc from angle small to large, does it cover this angle?
References normalize().
Referenced by ipe::Arc::bbox(), ipe::Arc::distance(), and ipe::Arc::intersect().