MgcMath Class Reference

#include <basic/geometry/geo_rangesensor/MgcMath.h>

List of all members.

Static Public Member Functions

static int IAbs (int iValue)
static int ICeil (double fValue)
static int IFloor (double fValue)
static int ISign (int iValue)
static MgcReal Abs (MgcReal fValue)
static MgcReal ACos (MgcReal fValue)
static MgcReal ASin (MgcReal fValue)
static MgcReal ATan (MgcReal fValue)
static MgcReal ATan2 (MgcReal fY, MgcReal fX)
static MgcReal Ceil (MgcReal fValue)
static MgcReal Cos (MgcReal fValue)
static MgcReal Exp (MgcReal fValue)
static MgcReal Floor (MgcReal fValue)
static MgcReal Log (MgcReal fValue)
static MgcReal Pow (MgcReal kBase, MgcReal kExponent)
static MgcReal Sign (MgcReal fValue)
static MgcReal Sin (MgcReal fValue)
static MgcReal Sqr (MgcReal fValue)
static MgcReal Sqrt (MgcReal fValue)
static MgcReal UnitRandom ()

Static Public Attributes

static const MgcReal INFINITY = FLT_MAX
static const MgcReal mgcPI = 4.0*atan(1.0)
static const MgcReal TWO_PI = 2.0*mgcPI
static const MgcReal HALF_PI = 0.5*mgcPI


Detailed Description

Definition at line 19 of file MgcMath.h.


Member Function Documentation

MgcReal MgcMath::Abs (  MgcReal  fValue  )  [static]
 

Definition at line 48 of file MgcMath.cpp.

Referenced by FindIntersection(), MgcVector3::GenerateOrthonormalBasis(), MgcSqrDistance(), MgcTestIntersection(), MgcEigen::QLAlgorithm(), and MgcEigen::TridiagonalN().

MgcReal MgcMath::ACos (  MgcReal  fValue  )  [static]
 

Definition at line 53 of file MgcMath.cpp.

References mgcPI.

MgcReal MgcMath::ASin (  MgcReal  fValue  )  [static]
 

Definition at line 68 of file MgcMath.cpp.

References HALF_PI.

MgcReal MgcMath::ATan (  MgcReal  fValue  )  [static]
 

Definition at line 83 of file MgcMath.cpp.

MgcReal MgcMath::ATan2 (  MgcReal  fY,
MgcReal  fX
)  [static]
 

Definition at line 88 of file MgcMath.cpp.

MgcReal MgcMath::Ceil (  MgcReal  fValue  )  [static]
 

Definition at line 93 of file MgcMath.cpp.

MgcReal MgcMath::Cos (  MgcReal  fValue  )  [static]
 

Definition at line 98 of file MgcMath.cpp.

MgcReal MgcMath::Exp (  MgcReal  fValue  )  [static]
 

Definition at line 103 of file MgcMath.cpp.

MgcReal MgcMath::Floor (  MgcReal  fValue  )  [static]
 

Definition at line 108 of file MgcMath.cpp.

int MgcMath::IAbs (  int  iValue  )  [static]
 

Definition at line 28 of file MgcMath.cpp.

int MgcMath::ICeil (  double  fValue  )  [static]
 

Definition at line 33 of file MgcMath.cpp.

int MgcMath::IFloor (  double  fValue  )  [static]
 

Definition at line 38 of file MgcMath.cpp.

int MgcMath::ISign (  int  iValue  )  [static]
 

Definition at line 43 of file MgcMath.cpp.

MgcReal MgcMath::Log (  MgcReal  fValue  )  [static]
 

Definition at line 113 of file MgcMath.cpp.

MgcReal MgcMath::Pow (  MgcReal  kBase,
MgcReal  kExponent
)  [static]
 

Definition at line 118 of file MgcMath.cpp.

MgcReal MgcMath::Sign (  MgcReal  fValue  )  [static]
 

Definition at line 123 of file MgcMath.cpp.

MgcReal MgcMath::Sin (  MgcReal  fValue  )  [static]
 

Definition at line 134 of file MgcMath.cpp.

MgcReal MgcMath::Sqr (  MgcReal  fValue  )  [static]
 

Definition at line 139 of file MgcMath.cpp.

MgcReal MgcMath::Sqrt (  MgcReal  fValue  )  [static]
 

Definition at line 144 of file MgcMath.cpp.

Referenced by FindIntersection(), MgcVector3::Length(), MgcDistance(), MgcEigen::Tridiagonal3(), and MgcEigen::Tridiagonal4().

MgcReal MgcMath::UnitRandom (   )  [static]
 

Definition at line 149 of file MgcMath.cpp.


Member Data Documentation

const MgcReal MgcMath::HALF_PI = 0.5*mgcPI [static]
 

Definition at line 47 of file MgcMath.h.

Referenced by ASin().

const MgcReal MgcMath::INFINITY = FLT_MAX [static]
 

Definition at line 44 of file MgcMath.h.

Referenced by MgcFindIntersection(), MgcVector3::operator/(), and MgcVector3::operator/=().

const MgcReal MgcMath::mgcPI = 4.0*atan(1.0) [static]
 

Definition at line 45 of file MgcMath.h.

Referenced by ACos().

const MgcReal MgcMath::TWO_PI = 2.0*mgcPI [static]
 

Definition at line 46 of file MgcMath.h.


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:51:36 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO