Belle II Software  release-08-01-10
AngleUtil Struct Reference

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.
 

Detailed Description

Utility functions to be used with angular quantities.

All angles are normalised to be in the range [-pi, pi]

Definition at line 24 of file Angle.h.


The documentation for this struct was generated from the following file: