#include <SoUtils/SbProjector.h>
#include <math.h>
Include dependency graph for SbProjector.cpp:
Go to the source code of this file.
Functions | |
bool | arctan (double aX, double aY, double &aValue) |
bool arctan | ( | double | aX, | |
double | aY, | |||
double & | aValue | |||
) |
Definition at line 6 of file SbProjector.cpp.
00006 { 00007 if((aX==0)&&(aY==0)) { 00008 aValue = 0; 00009 return false; 00010 } else { 00011 aValue = ::atan2(aX,aY); // return value in [-PI,PI] 00012 return true; 00013 } 00014 }