Changeset 734 in Sophya
- Timestamp:
- Feb 22, 2000, 5:28:14 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/vector3d.cc
r565 r734 1 #include "machdefs.h" 1 2 #include <math.h> 3 #include "pexceptions.h" 2 4 #include "vector3d.h" 3 5 #include "utilgeom.h" … … 184 186 // perpendicular vector with equal theta 185 187 //-- 186 { 187 double phi=mod(_phi+pi_over_2,pi2); // on tourne phi de pi/2 188 return Vector3d(_theta,phi); 188 { 189 throw PError("Vector3d::VperpTheta() - Logic Error DY/Reza 20/02/2000"); 190 // Bug ??? (D. Yvon, Fevrier 2000) 191 // double phi=mod(_phi+pi_over_2,pi2); // on tourne phi de pi/2 192 // return Vector3d(_theta,phi); 189 193 } 190 194
Note:
See TracChangeset
for help on using the changeset viewer.