Static Public Member Functions | Static Public Attributes
rotateOp::MathHelper Class Reference

This class contains useful mathematical helpers needed to perform the rotate and transformed calculations. More...

#include <MathHelper.h>

List of all members.

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

Detailed Description

This class contains useful mathematical helpers needed to perform the rotate and transformed calculations.

Definition at line 17 of file MathHelper.h.


Member Function Documentation

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.

Parameters:
numberNumber to be rounded.
decimalsNumber of decimals to round.

Definition at line 29 of file MathHelper.h.


Member Data Documentation

const double rotateOp::MathHelper::PI = 3.14159265358979 [static]

Definition at line 20 of file MathHelper.h.


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


iri_ual_catec
Author(s): Àngel Sanatamaria Navarro
autogenerated on Fri Dec 6 2013 21:24:08