Last change
on this file since 1385 was 1385, checked in by ansari, 25 years ago |
Modif cosmetiques - Reza 17/1/2000
|
File size:
449 bytes
|
Rev | Line | |
---|
[1385] | 1 | #ifndef UTILGEOM_H_SEEN
|
---|
| 2 | #define UTILGEOM_H_SEEN
|
---|
[764] | 3 | #include <math.h>
|
---|
| 4 | #ifdef __MWERKS__
|
---|
[1383] | 5 | #include "unixmac.h"
|
---|
[764] | 6 | #endif
|
---|
| 7 | #include <vector>
|
---|
| 8 |
|
---|
| 9 | const double pi2=2.*M_PI;
|
---|
| 10 | const double dtor=M_PI/180.;
|
---|
| 11 | const double pi_over_2=M_PI/2.;
|
---|
| 12 |
|
---|
| 13 | int sign(double);
|
---|
| 14 | double absd(double);
|
---|
| 15 | double mod(double, double=0);
|
---|
| 16 | void swap(double&, double&);
|
---|
| 17 | double min(double, double);
|
---|
| 18 | double max(double, double);
|
---|
| 19 | int arrondi(double);
|
---|
| 20 | double scangle(double sinus, double cosinus);
|
---|
| 21 |
|
---|
| 22 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.