SIBCMathLib.h File Reference

Defines more Mathematical functions and constants . More...

#include <math.h>
#include <float.h>
#include "SIBCUtil.h"
#include "SIBCMatrix33d.h"
#include "SIBCRotMatd.h"
#include "SIBCMatrix44d.h"
#include "SIBCXfoMatd.h"
#include "SIBCVector2Dd.h"
#include "SIBCVector3Dd.h"
#include "SIBCVector4Dd.h"
#include "SIBCVectorwd.h"
#include "SIBCQuaterniond.h"
#include "SIBCRotationd.h"
#include "SIBCTransfod.h"
#include "SIBCMatrixMNd.h"

Go to the source code of this file.

Defines

#define  M_2PI   ( 2 * M_PI )
#define  M_Inv_PI   ( 1.0 / M_PI )
#define  M_Inv_2PI   ( 0.5 / M_PI )
#define  DEG_TO_RAD(deg)   ((deg)*M_PI/180.0)
#define  RAD_TO_DEG(rad)   ((rad)*180.0*M_Inv_PI)

Typedefs

typedef enum tagE3DAXISTYPE  E3DAxisType
typedef double  DOUBLE

Enumerations

enum   tagE3DAXISTYPE {
  X_AXIS = 0,
  Y_AXIS = 1,
  Z_AXIS = 2
}
enum   {
  NO_COORD_AXIS = 0x00,
  X_COORD_AXIS = 0x01,
  Y_COORD_AXIS = 0x02,
  Z_COORD_AXIS = 0x04,
  ALL_COORD_AXES = (X_COORD_AXIS | Y_COORD_AXIS | Z_COORD_AXIS)
}

Variables

const DOUBLE  PICO_EPS = 1.0e-12
const DOUBLE  NANO_EPS = 1.0e-09
const DOUBLE  HEXA_EPS = 1.0e-06
const DOUBLE  MILLI_EPS = 1.0e-03
const DOUBLE  SI_HUGE = DBL_MAX


Detailed Description

Defines more Mathematical functions and constants .

Copyright 2008 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompanies this software in either electronic or hard copy form.