CFx SDK Documentation  2020SP3
Macros | Variables
OdaCommon.h File Reference
#include "TDVersion.h"
#include "RootExport.h"
#include "DbRootExport.h"
#include "DebugStuff.h"
#include "OdaDefs.h"
#include "OdPlatform.h"
#include "OdModuleNames.h"

Go to the source code of this file.

Macros

#define OdaPI   3.14159265358979323846
 
#define OdaPI2   (OdaPI / 2.0)
 
#define OdaPI4   (OdaPI / 4.0)
 
#define Oda2PI   (OdaPI+OdaPI)
 
#define OdaToDegree(rad)   ((rad)/OdaPI*180.0)
 
#define OdaToRadian(deg)   ((deg)*OdaPI/180.0)
 

Variables

const double kMmPerInch = 25.4
 

Macro Definition Documentation

◆ Oda2PI

#define Oda2PI   (OdaPI+OdaPI)

Definition at line 57 of file OdaCommon.h.

◆ OdaPI

#define OdaPI   3.14159265358979323846

Definition at line 51 of file OdaCommon.h.

◆ OdaPI2

#define OdaPI2   (OdaPI / 2.0)

Definition at line 53 of file OdaCommon.h.

◆ OdaPI4

#define OdaPI4   (OdaPI / 4.0)

Definition at line 55 of file OdaCommon.h.

◆ OdaToDegree

#define OdaToDegree (   rad)    ((rad)/OdaPI*180.0)

Converts a value in radians to a value in degrees.

See also
OdaToRadian() pseudo-function

Definition at line 65 of file OdaCommon.h.

◆ OdaToRadian

#define OdaToRadian (   deg)    ((deg)*OdaPI/180.0)

Converts a value in degrees to a value in radians.

See also
OdaToDegree() pseudo-function

Definition at line 73 of file OdaCommon.h.

Variable Documentation

◆ kMmPerInch

const double kMmPerInch = 25.4

Definition at line 83 of file OdaCommon.h.