Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
angle.h
Go to the documentation of this file.
1
35
#ifndef LIB2GEOM_SEEN_ANGLE_H
36
#define LIB2GEOM_SEEN_ANGLE_H
37
38
namespace
Geom
{
39
40
#ifndef M_PI
41
# define M_PI 3.14159265358979323846
42
#endif
43
#ifndef M_PI_2
44
# define M_PI_2 ( M_PI / 2)
45
#endif
46
47
inline
double
deg_to_rad(
double
deg) {
return
deg*M_PI/180.0;}
48
49
inline
double
rad_to_deg(
double
rad) {
return
rad*180.0/M_PI;}
50
51
}
52
53
#endif
Geom
Definition:
angle.h:38
scribus
third_party
lib2geom
angle.h
Generated on Tue Sep 29 2015 09:15:13 for Scribus by
1.8.9.1