Changeset 734 in Sophya


Ignore:
Timestamp:
Feb 22, 2000, 5:28:14 PM (26 years ago)
Author:
ansari
Message:

throw ds Vector3d::VperpTheta() suite au mail D. Yvon - Reza 22/02/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/vector3d.cc

    r565 r734  
     1#include "machdefs.h"
    12#include <math.h>
     3#include "pexceptions.h"
    24#include "vector3d.h"
    35#include "utilgeom.h"
     
    184186//    perpendicular vector with equal theta
    185187//--
    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);
    189193}
    190194
Note: See TracChangeset for help on using the changeset viewer.