CAngle Class Reference

polar angles More...

#include <CAngle.h>

List of all members.

Public Member Functions

 CAngle (float, float)

Static Public Member Functions

static CAngle transform (CAngle angle1, CAngle angle2)

Public Attributes

float theta
 polar angle in radians
float phi
 azimuth angle in radians

Static Public Attributes

static float const pi = acos(-1.)
 3.14159


Detailed Description

polar angles

!

Class to deal with polar angles


Constructor & Destructor Documentation

CAngle::CAngle ( float  theta0,
float  phi0 
)

Constructor


Member Function Documentation

CAngle CAngle::transform ( CAngle  angle1,
CAngle  angle2 
) [static]

This subroutine performs a rotational transformation.

theta1,phi1 are the coordinates (spherical angles in radians)of a unit vector in the original coordinate systems. the z axis is made to rotate in the phi=phi2 plane by an angle theta2. The coordinates of the vector in the new reference frame are theta3,phi3

Parameters:
angle1 is the initial (theta,phi) angles
angle2 specifies the (theta,phi) rotation


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 14:13:09 2012 by  doxygen 1.4.7