#include <cmath>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include "VecAngle.H"
#include "debug.H"
Functions | |
float | normRadAngle (float angleRad) |
renormalize an angle to be in [0..2*M_PI] | |
void | rotateXY (const float x1, const float y1, const float angleRad, float &x2, float &y2) |
rotate an XY vector about the origin | |
void | xyz2tpr (const double x, const double y, const double z, double &theta, double &phi, double &radius) |
convert xyz to theta (t) and phi(p) in radians. Go polar. | |
void | ldi2xyz (const float len, const float dec, const float inc, vector< float > &xyz) |
Variables | |
static const UNUSED char * | RCSid = "@(#) $Id: VecAngle.C,v 1.3 2004/11/03 00:42:35 schwehr Exp $" |
Let the debugger find out which version is being used. |
|
|
|
renormalize an angle to be in [0..2*M_PI]
|
|
rotate an XY vector about the origin
|
|
convert xyz to theta (t) and phi(p) in radians. Go polar.
|
|
Let the debugger find out which version is being used.
|