| Last change
 on this file since 2345 was             1385, checked in by ansari, 25 years ago | 
        
          | 
Modif cosmetiques - Reza 17/1/2000
 | 
        
          | File size:
            449 bytes | 
      
      
| Line |  | 
|---|
| 1 | #ifndef UTILGEOM_H_SEEN | 
|---|
| 2 | #define UTILGEOM_H_SEEN | 
|---|
| 3 | #include <math.h> | 
|---|
| 4 | #ifdef __MWERKS__ | 
|---|
| 5 | #include "unixmac.h" | 
|---|
| 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.