Changeset 1154 in Sophya
- Timestamp:
- Aug 29, 2000, 4:14:25 PM (25 years ago)
- Location:
- trunk/SigPredictor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SigPredictor/abscalctool.cc
r1149 r1154 59 59 } 60 60 61 /* // Pour compilation sur cxx boeuf! 61 62 double AbsCalcTool::max(double a, double b) const{ 62 63 if(a>b) return a; … … 68 69 else return b; 69 70 } 70 71 */ 71 72 int kmg_eulerRad(double ai, double bi, int select, double *ao, double *bo) { 72 73 // All coordinates are in Radian. -
trunk/SigPredictor/abscalctool.h
r1149 r1154 2 2 #define AbsCalTool_H 3 3 4 #include < ostream>4 #include <fstream> 5 5 #include "unitvector.h" 6 6 #include "pixelmap.h" … … 57 57 // Computation tools 58 58 // Math tools !!!!!!!------------------------------------------------------- 59 inline double max(double a, double b)const; 60 inline double min(double a, double b)const; 59 inline double max(double a, double b)const 60 { if(a>b) return a; 61 else return b; 62 } 63 inline double min(double a, double b)const 64 { if(a<b) return a; 65 else return b; 66 } 61 67 //compute solid angle between cones of aperture angles ang1 and ang2 62 68 63 virtual inlinedouble diffSolidAng(double ang1,double ang2) const;69 virtual double diffSolidAng(double ang1,double ang2) const; 64 70 65 71 };
Note:
See TracChangeset
for help on using the changeset viewer.