source:
Sophya/trunk/SophyaLib/SkyMap/utilgeom.h
Last change on this file was 3206, checked in by , 18 years ago | |
---|---|
File size: 402 bytes |
Line | |
---|---|
1 | #ifndef UTILGEOM_H_SEEN |
2 | #define UTILGEOM_H_SEEN |
3 | #include <math.h> |
4 | #include <vector> |
5 | |
6 | const double pi2=2.*M_PI; |
7 | const double dtor=M_PI/180.; |
8 | const double pi_over_2=M_PI/2.; |
9 | |
10 | int sign(double); |
11 | double absd(double); |
12 | double mod(double, double=0); |
13 | void swap(double&, double&); |
14 | double min(double, double); |
15 | double max(double, double); |
16 | int arrondi(double); |
17 | double scangle(double sinus, double cosinus); |
18 | |
19 | #endif |
Note:
See TracBrowser
for help on using the repository browser.