QXRD  0.11.16
Functions
qxrddetectorgeometry.cpp File Reference

(Commit a65ccc9... : jennings : 2016-03-15 14:00:18 -0500)

#include "qxrddetectorgeometry.h"
#include "qmath.h"
Include dependency graph for qxrddetectorgeometry.cpp:

Go to the source code of this file.

Functions

static double mod (double a, double b)
 

Function Documentation

static double mod ( double  a,
double  b 
)
static

Definition at line 12 of file qxrddetectorgeometry.cpp.

Referenced by QxrdDetectorGeometry::getTwoThetaChi(), QxrdDetectorGeometry::getXY(), and QxrdFileBrowserModelUpdater::updateContents().

12  {
13  while (a < 0) a+=b;
14  while (a >= b) a-=b;
15  return a;
16 }

Here is the caller graph for this function: