gCAD3D 2.35
NC_Main.h
Go to the documentation of this file.
1 /*
2 
3 Modifications:
4 2001-06-05 Portierung Unix
5 
6 needs ut_geo.h
7 
8 */
14 #define APT_ind_INC 2500 // siz of NC_stat__
15 #define NC_UPLISTSIZ 100 // siz of NC_up_tab
16 
17 
18 typedef struct {Point2 actPos; long lNr;
19  unsigned tlNr:16, rpd:1, unused:15;} NC_recTyp;
20 
21 typedef struct {Ditto ditt; Point2 ditEnd; long lNr;
22  char cNam[32], mode;} NC_up_rec;
23 
24 
25 
26 
27 void WC_Init_all (int);
28 void WC_Init ();
29 void WC_Init_ObjG2 (ObjG2*);
30 void WC_Init_Tol ();
31 void WC_EOF ();
32 int WC_PP_open (int mode);
33 
34 void WC_setDisp3D (int);
35 int NC_setRefsys (int);
36 void NC_setGrafAtt (int AttInd);
37 void NC_set_actPos (Point2*);
38 int WC_set_obj_stat (int stat);
39 
40 // int WC_actPos_reset (int lNr);
41 // int APT_disp_hili (int lNr);
42 // int APT_disp_reset (int lNr);
43 
44 void APT_Init ();
45 void APT_Reset ();
46 
47 int WC_Work__ (int, char*);
48 int WC_Work1 (int, char*);
49 int APT_work_def (char*, char**);
50 int APT_work_NCCmd (char*, char**);
51 int APT_work_AppCodTab (char*, char**);
52 
53 int APT_Lay_add(int layNr,int aus_anz,char* sptr,int* aus_typ,double* aus_tab);
54 
55 int APT_UP_up (char);
56 int APT_UP_down ();
57 
58 
59 int APT_stack_NCCmd (char* buf, int);
60 
61 int APT_input_get (char*);
62 
63 int APT_ausg_NCCmd (int);
64 int APT_ausg_chTool (char*);
65 
66 int APT_PP_Write_Lin (Point*);
67 int APT_PP_Write_Cir (Circ*);
68 int APT_PP_Write ();
69 void APT_PP_FROM ();
70 
73 double APT_transl_rad (double);
74 
75 // int APT_disp_obj (ObjG2*, int, double);
76 int APT_disp_SymB (int typ, int att, Point* pt1);
77 void APT_disp_SymV (int, int att, Point2*, double);
78 void APT_disp_SymV1 (int, int att, Point*, double);
79 void APT_disp_SymV2 (int, int att, Point*, Point*, double);
80 void APT_disp_SymV3 (int, int att, Point*, Vector*, double);
81 void APT_disp_TxtA (int, Point*, char*);
82 // void APT_disp_TxtG (int typ,Point* pt1,float size,float angle,char* txt);
83 // void APT_disp_Vec (int att, long, Point*, Vector*);
84 void APT_disp_ln (Point2*, Point2*, int, double, double);
85 void APT_disp_ac (ObjG2*, int, double);
86 // void APT_disp_cv (ObjG2*, int, double);
87 void APT_disp_nam (int, long, void*);
88 
89 void APT_DrawDimen (int typ, long apt_ind, ObjGX *dim1);
90 void APT_DrawTxtG (int typ, long apt_ind, GText *tx1);
91 // void APT_DrawTxtA (int typ, long apt_ind, GText *tx1);
92 void APT_DrawPoint (int, long, Point *);
93 void APT_DrawLine (int, long, Line *);
94 void APT_DrawCirc (int, long, Circ *);
95 void APT_DrawCurv (int, long, ObjGX *, double, Memspc*);
96 int APT_DrawModel (int, long, ModelRef *);
97 // void APT_DrawRFac (int, ObjG2 *,double,ObjG2 *,double);
98 int APT_DrawSur (int typ, long apt_ind);
99 int APT_DrawSol (int typ, long apt_ind);
100 int APT_DrawPln (int typ, long objInd, Plane *pl1);
101 
102 
103 
104 void APT_curv2ptArr (Point2*, int*, ObjG2*);
105 
106 int PP_up_list (NC_up_rec **upAct, char* macnam, int workmode);
107 
108 // int WC_ask_WC_mode ();
109 // Point2 WC_ask_actPos ();
110 // ObjG2 WC_ask_actObj ();
111 // double WC_ask_actZsur ();
112 // double WC_ask_Zsur2 ();
113 // double WC_ask_Zsur1 ();
114 
115 double WC_ask_ModSiz ();
116 
117 
118 void APT_get_dreh (int *, double *, double);
119 
120 
121 //int WC_ask_geo ();
122 
123 //=============== END OF nc_main.h =============================
void WC_EOF()
Definition: NC_Main.c:1368
int typ
Definition: xa_tra.c:151
int APT_PP_Write_Lin(Point *)
void APT_Init()
Definition: NC_Main.c:1186
Definition: NC_Main.h:21
int PP_up_list(NC_up_rec **upAct, char *macnam, int workmode)
Definition: NC_Main.c:9709
3D-plane, Typ_PLN
Definition: ut_geo.h:631
int APT_DrawSol(int typ, long apt_ind)
Definition: NC_Main.c:9156
void WC_Init_ObjG2(ObjG2 *)
int APT_PP_Write_Cir(Circ *)
long objInd
Definition: ut_gr.c:290
void APT_DrawDimen(int typ, long apt_ind, ObjGX *dim1)
Definition: NC_Main.c:9037
long lNr
Definition: NC_Main.h:21
3D-line, Typ_LN
Definition: ut_geo.h:361
char mode
Definition: xa_tra.c:152
3D-circle, Typ_CI
Definition: ut_geo.h:404
int APT_PP_Write()
void APT_disp_TxtA(int, Point *, char *)
Definition: NC_Main.c:9287
int APT_stack_NCCmd(char *buf, int)
void APT_get_dreh(int *, double *, double)
Definition: NC_Main.c:9819
Typ_ObjGX.
Definition: ut_geo.h:240
double APT_transl_rad(double)
Definition: NC_Main.c:8526
int WC_Work1(int, char *)
Definition: NC_Main.c:2583
void APT_DrawPoint(int, long, Point *)
Definition: NC_Main.c:9880
void APT_disp_nam(int, long, void *)
Definition: NC_Main.c:9602
char stat
Definition: xa_tra.c:152
model reference; Typ_Model
Definition: ut_geo.h:829
void APT_disp_ln(Point2 *, Point2 *, int, double, double)
Definition: NC_Main.c:9475
int APT_Lay_add(int layNr, int aus_anz, char *sptr, int *aus_typ, double *aus_tab)
Definition: NC_Main.c:10233
double WC_ask_ModSiz()
Definition: NC_Main.c:9868
int APT_disp_SymB(int typ, int att, Point *pt1)
Definition: NC_Main.c:9316
Point2 APT_rotate3(Point *)
Definition: NC_Main.c:8784
static Point pt1
Definition: DemoPlugin_Dialog.c:85
void APT_DrawCirc(int, long, Circ *)
Definition: NC_Main.c:9955
void APT_DrawLine(int, long, Line *)
Definition: NC_Main.c:9909
void APT_disp_SymV2(int, int att, Point *, Point *, double)
Definition: NC_Main.c:9384
int WC_set_obj_stat(int stat)
Definition: NC_Main.c:965
int APT_work_def(char *, char **)
Definition: NC_Main.c:3296
internal submodel (block); Typ_Ditto
Definition: ut_geo.h:795
Point actPos
Definition: prc_cut1__.c:126
Point2 APT_transl2(Point2 *)
Definition: NC_Main.c:8629
void APT_Reset()
Definition: NC_Main.c:1346
int APT_work_AppCodTab(char *, char **)
Definition: NC_Main.c:4324
int APT_UP_down()
Definition: NC_Main.c:6970
void WC_Init()
Definition: NC_Main.c:1165
grafic text; Typ_GTXT
Definition: ut_geo.h:742
int WC_Work__(int, char *)
Definition: NC_Main.c:2028
int APT_work_NCCmd(char *, char **)
int WC_PP_open(int mode)
int APT_ausg_chTool(char *)
int APT_UP_up(char)
Definition: NC_Main.c:6935
double * aus_tab
Definition: NC_Main.h:18
int APT_DrawPln(int typ, long objInd, Plane *pl1)
Definition: NC_Main.c:9199
void APT_curv2ptArr(Point2 *, int *, ObjG2 *)
Definition: NC_Main.c:10159
long lNr
Definition: NC_Main.h:18
int NC_setRefsys(int)
Definition: NC_Main.c:1512
3D-point, Typ_PT
Definition: ut_geo.h:195
int APT_input_get(char *)
void NC_set_actPos(Point2 *)
Definition: NC_Main.c:1454
char mode
Definition: NC_Main.h:22
void WC_Init_Tol()
Definition: NC_Main.c:1084
3D-vector, Typ_VC
Definition: ut_geo.h:209
void APT_PP_FROM()
void WC_setDisp3D(int)
Definition: NC_Main.c:1437
int APT_DrawModel(int, long, ModelRef *)
Definition: NC_Main.c:9241
2D-point, Typ_PT2
Definition: ut_geo.h:189
int APT_DrawSur(int typ, long apt_ind)
Definition: NC_Main.c:9220
void APT_DrawCurv(int, long, ObjGX *, double, Memspc *)
Definition: NC_Main.c:10035
void APT_disp_SymV3(int, int att, Point *, Vector *, double)
Definition: NC_Main.c:9447
void APT_disp_ac(ObjG2 *, int, double)
Definition: NC_Main.c:9504
Definition: ut_geo.h:292
void APT_disp_SymV(int, int att, Point2 *, double)
Definition: NC_Main.c:9342
int APT_ausg_NCCmd(int)
void APT_disp_SymV1(int, int att, Point *, double)
Definition: NC_Main.c:9363
void NC_setGrafAtt(int AttInd)
Definition: NC_Main.c:1481
int * aus_typ
void APT_DrawTxtG(int typ, long apt_ind, GText *tx1)
Definition: NC_Main.c:9053
Typ_Memspc (a class for variable-length-records in memory)
Definition: ut_umem.h:33
void WC_Init_all(int)
Definition: NC_Main.c:979