Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Namespaces | Defines | Functions

SgMath.h File Reference

Math utility functions. More...

#include <cmath>

Go to the source code of this file.

Namespaces

namespace  SgMath
 

Math utility functions.


Defines

#define SG_SQRT2   1.41421356237309504880
 Square-root of 2.

Functions

int SgMath::RoundToInt (double v)
 Round to the closest integer value.

Detailed Description

Math utility functions.

Definition in file SgMath.h.


Define Documentation

#define SG_SQRT2   1.41421356237309504880

Square-root of 2.

Can be used instead of M_SQRT2 to support systems that don't define BSD math constants (Mac OS X Tiger?)

Definition at line 16 of file SgMath.h.


Sun Mar 13 2011 Doxygen 1.7.1