Changeset 1191 in Sophya for trunk/SigPredictor/abscalctool.h
- Timestamp:
- Sep 19, 2000, 2:28:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SigPredictor/abscalctool.h
r1154 r1191 67 67 //compute solid angle between cones of aperture angles ang1 and ang2 68 68 69 virtual double diffSolidAng(double ang1,double ang2) const; 69 double diffSolidAng(double ang1,double ang2) const 70 { return fabs(2*M_PI*(cos(ang1)-cos(ang2))); // Steradians 71 } 70 72 71 73 };
Note:
See TracChangeset
for help on using the changeset viewer.