VRMLOUT.C File Reference

Go to the source code of this file.

Defines

#define DOS386
#define _X__FAR
#define PI   3.1415926
#define min(a, b)   ( ((a) < (b)) ? (a) : (b) )
#define max(a, b)   ( ((a) > (b)) ? (a) : (b) )
#define UNIT   32768L
#define UNIT2   65536L
#define MINUNIT   2048L
#define MAXUNIT   4194304L
#define PI2   PI/2
#define DESELECTED   0
#define SELECTED   1
#define HIDDEN   2
#define INEDITOR   6
#define FAIL   -1
#define VECSUB(a, b, c)   { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];}
#define VECSUM(a, b, c)   { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];}
#define VECSCALE(a, b, c)   { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];}
#define DOT(a, b)   ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) )
#define CROSS(v1, v2, r)

Typedefs

typedef unsigned char COLOUR [3]
typedef struct tagMapVRML MapVRML

Functions

void CreateVRMLfile (FILE *dxfp)
BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
long _Export (HWND parent_window, char *filename, X__STRUCTURE *lpevi)
BOOL _Xmodeler (HWND parent_window, HWND info_window, X__STRUCTURE *lpevi)


Define Documentation

#define DOS386

Definition at line 29 of file VRMLOUT.C.

#define _X__FAR

Definition at line 30 of file VRMLOUT.C.

#define PI   3.1415926

Definition at line 31 of file VRMLOUT.C.

#define min ( a,
 )     ( ((a) < (b)) ? (a) : (b) )

Definition at line 34 of file VRMLOUT.C.

#define max ( a,
 )     ( ((a) > (b)) ? (a) : (b) )

Definition at line 37 of file VRMLOUT.C.

#define UNIT   32768L

Definition at line 40 of file VRMLOUT.C.

#define UNIT2   65536L

Definition at line 41 of file VRMLOUT.C.

#define MINUNIT   2048L

Definition at line 42 of file VRMLOUT.C.

#define MAXUNIT   4194304L

Definition at line 43 of file VRMLOUT.C.

#define PI2   PI/2

Definition at line 44 of file VRMLOUT.C.

#define DESELECTED   0

Definition at line 46 of file VRMLOUT.C.

#define SELECTED   1

Definition at line 47 of file VRMLOUT.C.

#define HIDDEN   2

Definition at line 48 of file VRMLOUT.C.

#define INEDITOR   6

Definition at line 49 of file VRMLOUT.C.

#define FAIL   -1

Definition at line 50 of file VRMLOUT.C.

#define VECSUB ( a,
b,
 )     { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];}

Definition at line 52 of file VRMLOUT.C.

#define VECSUM ( a,
b,
 )     { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];}

Definition at line 53 of file VRMLOUT.C.

#define VECSCALE ( a,
b,
 )     { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];}

Definition at line 54 of file VRMLOUT.C.

#define DOT ( a,
 )     ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) )

Definition at line 55 of file VRMLOUT.C.

#define CROSS ( v1,
v2,
 ) 

Value:

{ \
                          r[0] = (v1[1]*v2[2]) - (v2[1]*v1[2]);  \
                          r[1] = (v1[2]*v2[0]) - (v1[0]*v2[2]);  \
                          r[2] = (v1[0]*v2[1]) - (v2[0]*v1[1]);  \
                         }

Definition at line 56 of file VRMLOUT.C.


Typedef Documentation

typedef unsigned char COLOUR[3]

Definition at line 63 of file VRMLOUT.C.

typedef struct tagMapVRML MapVRML


Function Documentation

void CreateVRMLfile ( FILE *  dxfp  ) 

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 543 of file VRMLOUT.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, hThisInstance, and TRUE.

long _Export ( HWND  parent_window,
char *  filename,
X__STRUCTURE lpevi 
)

BOOL _Xmodeler ( HWND  parent_window,
HWND  info_window,
X__STRUCTURE lpevi 
)

Definition at line 746 of file VRMLOUT.C.

References _Export().


Generated on Sun Apr 27 14:20:16 2014 for OpenFX by  doxygen 1.5.6