45typedef float dxfdouble;
51#define M_PI 3.14159265358979323846
54#define DXFABS(x) ((x)<0?-(x):(x))
55#define DXFMAX(x,y) ((x)>(y)?(x):(y))
56#define DXFMIN(x,y) ((x)<(y)?(x):(y))
57#define DXFDEG2RAD(x) (M_PI*(x)/180.0)
58#define DXFRAD2DEG(x) (180.0*(x)/M_PI)
68template <
class T>
inline
75#include <support/SupportDefs.h>
77typedef signed char int8;
78typedef unsigned char uint8;
79typedef signed short int16;
80typedef unsigned short uint16;
84typedef signed int int32;
86typedef unsigned int uint32;
90 char* strdup(
const char* );
93#define ARRAY_NEW(memh, type, num) \
94memh ? (type*) memh->allocMem((num)*sizeof(type)) : new type[num]
96#define DXF_STRCPY(mh, d, s) \
97mh ? d = mh->stringAlloc(s) : d = new char[strlen(s)+1]; if (d) strcpy(d,s)
100typedef dimeCallbackFunc * dimeCallback;
107 dxfdouble double_data;
108 const char *string_data;
109 const char *hex_data;
117# error Leave the internal DIME_DLL_API define alone.
121# error The DIME_NOT_DLL define is not supposed to be used when building the library, only when building Win32 applications.
124# error The DIME_DLL define is not supposed to be used when building the library, only when building Win32 applications.
159#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
162# define DIME_DLL_API __declspec(dllexport)
167# error Do not define both DIME_DLL and DIME_NOT_DLL at the same time
169# define DIME_DLL_API __declspec(dllimport)
172# error Define either DIME_DLL or DIME_NOT_DLL as appropriate for your linkage! See dime/Basic.h for further instructions.
183int DIME_DLL_API dime_isnan(
double value);
184int DIME_DLL_API dime_isinf(
double value);
185int DIME_DLL_API dime_finite(
double value);
The dimeEntity class is the superclass of all entity classes.
Definition Entity.h:61
The dimeState class manages various state variables while the model is traversed.
Definition State.h:41
The dimeParam class is a union of the different parameter types.
Definition Basic.h:102