Belle II Software
release-08-01-10
|
Utility functions to be used with angular quantities. More...
#include <Angle.h>
Static Public Member Functions | |
static double | average (const double angle1, double angle2) |
Combines two angluar values to the one that lies half way between them on the short arc. | |
static double | normalised (const double angle) |
Normalise an angle to lie in the range from [-pi, pi]. | |
static void | normalise (double &angle) |
Normalise an angle inplace to lie in the range from [-pi, pi]. | |
static double | fullNormalised (const double angle) |
Normalise an angle to lie in the range from [-pi, pi]. | |
static double | reversed (const double angle) |
Get the angle that point in the opposite direction. | |
Utility functions to be used with angular quantities.
All angles are normalised to be in the range [-pi, pi]