Go to the source code of this file.
Defines | |
#define | DESELECTED 0 |
#define | SELECTED 1 |
#define | HIDDEN 2 |
#define | INEDITOR 3 |
#define | FAIL -1 |
#define | OK 1 |
#define | VECCOPY(a, b) { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
#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 struct tagVERTEXVERTEX | VERTEXVERTEX |
typedef struct tagFACEEXTRA | FACEEXTRA |
Functions | |
BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
BOOL | _Xmodeler (HWND parent_window, HWND info_window, X__STRUCTURE *lpevi) |
BOOL | intriview (vertex *vp) |
BOOL | IdentifyCurve (long *Np, long **Va, BOOL *loop) |
#define DESELECTED 0 |
Definition at line 44 of file SUBDCURV.CPP.
#define SELECTED 1 |
Definition at line 45 of file SUBDCURV.CPP.
#define HIDDEN 2 |
Definition at line 46 of file SUBDCURV.CPP.
#define INEDITOR 3 |
Definition at line 47 of file SUBDCURV.CPP.
#define FAIL -1 |
Definition at line 48 of file SUBDCURV.CPP.
#define OK 1 |
Definition at line 49 of file SUBDCURV.CPP.
#define VECCOPY | ( | a, | |||
b | ) | { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
Definition at line 95 of file SUBDCURV.CPP.
#define VECSUB | ( | a, | |||
b, | |||||
c | ) | { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];} |
Definition at line 96 of file SUBDCURV.CPP.
#define VECSUM | ( | a, | |||
b, | |||||
c | ) | { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];} |
Definition at line 97 of file SUBDCURV.CPP.
#define VECSCALE | ( | a, | |||
b, | |||||
c | ) | { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];} |
Definition at line 98 of file SUBDCURV.CPP.
#define DOT | ( | a, | |||
b | ) | ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
Definition at line 99 of file SUBDCURV.CPP.
#define CROSS | ( | v1, | |||
v2, | |||||
r | ) |
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 100 of file SUBDCURV.CPP.
typedef struct tagVERTEXVERTEX VERTEXVERTEX |
typedef struct tagFACEEXTRA FACEEXTRA |
BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
DWORD | dwReason, | |||
LPVOID | lpReserved | |||
) |
Definition at line 57 of file SUBDCURV.CPP.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, hThisInstance, and TRUE.
BOOL _Xmodeler | ( | HWND | parent_window, | |
HWND | info_window, | |||
X__STRUCTURE * | lpevi | |||
) |
BOOL IdentifyCurve | ( | long * | Np, | |
long ** | Va, | |||
BOOL * | loop | |||
) |
Definition at line 125 of file SUBDCURV.CPP.
References Connected, double, FALSE, intriview(), MainVp, NpointerX, NpointerY, NpointerZ, Nvert, NvertSelect, SELECTED, TRUE, TVsizeX, X__Malloc, and X__Realloc.