This class contains useful mathematical helpers needed to perform the rotate and transformed calculations. More...
#include <MathHelper.h>
Static Public Member Functions | |
| static double | roundDecimal (const double number, const int decimals) | 
| This method rounds a double with the indicate number of decimals. If we have a number like 3.14159 and we want to round to two decimals number, the call will be: roundDecimal(3.14159, 2) and the result will be 3.14.   | |
Static Public Attributes | |
| static const double | PI = 3.14159265358979 | 
This class contains useful mathematical helpers needed to perform the rotate and transformed calculations.
Definition at line 17 of file MathHelper.h.
| static double rotateOp::MathHelper::roundDecimal | ( | const double | number, | 
| const int | decimals | ||
| ) |  [inline, static] | 
        
This method rounds a double with the indicate number of decimals. If we have a number like 3.14159 and we want to round to two decimals number, the call will be: roundDecimal(3.14159, 2) and the result will be 3.14.
| number | Number to be rounded. | 
| decimals | Number of decimals to round. | 
Definition at line 29 of file MathHelper.h.
const double rotateOp::MathHelper::PI = 3.14159265358979 [static] | 
        
Definition at line 20 of file MathHelper.h.