gCAD3D 2.35
NC_apt.h
Go to the documentation of this file.
1 /*
2 Modifications:
3 2001-06-05 Portierung Unix
4 
5 */
10 /*
11 nach NC_cut.h verlegt
12 #define KONIK_0 0
13 #define KONIK_1 1
14 #define KONIK_2 2
15 #define KONIK_3 3
16 */
17 
18 // #define Typ_nc_cut 0
19 // #define Typ_nc_drill 1
20 
21 
22 // Typ_Cmd1 is parallel to ObjCodTab in ../ut/ut_gtypes.c
23 enum Typ_Cmd1 {
24  T_ON_, T_OFF_, T_IN, T_OUT, T_ARC, // 0-4
25  T_HI, T_LO, T_MA, T_TAG, T_PERP, // 5-9
26  T_CCW, T_CW, T_ELL, T_IMG, T_CCV2, // 10-14
27  T_POL2, T_POL, T_PSP3, T_BSP0, T_CCV, // 15-19
29  T_PRISM, T_SPH, T_CON, T_TOR, T_CYL, // 25-29
30  T_CUT, T_REV, T_SWEEP, T_RGT, T_LFT, // 30-34
31  T_DIM, T_DIMA, T_LDR, T_LOFT, T_FSUB, // 35-39
32  T_PRJ, T_TRA, T_ROT, T_MIR, T_TXA, // 40-44
33  T_DIMD, T_DIMR, T_DIM3, T_REC, T_INT, // 45-49
36  T_FW, T_CX, T_PTAB, T_MSH, T_CLOT, // 60-64
39 
40 
41 char** APT_decode_txt (char**);
42 int APT_decode_var (double*,int, int*, double*);
43 int APT_decode_vc (Vector*, int, int*, double*);
44 int APT_decode_pt (Point*, int, int*, double*);
45 int APT_decode_ln (Line *, int, int*, double*);
46 int APT_decode_ci (Circ *, int, int*, double*);
47 int APT_decode_pln1 (Plane *, int, int*, double*);
48 int APT_decode_pln2 (Plane *, int, int*, double*);
49 // int APT_decode_tool (BTool *, int , int *, double *);
50 int APT_decode_inp (int , int *, double *);
51 // int APT_decode_ccv (ObjGX *cv1, Memspc *tbuf1, Memspc *tbuf2,
52  // int aus_anz,int aus_typ[],double aus_tab[]);
53 int APT_decode_ccv2 (ObjGX *cv1,int aus_anz,int aus_typ[],double aus_tab[]);
54 
55 
56 int APT_decode_ausdr (int *aus_typ,double *aus_tab,int aus_siz,char** data);
57 int APT_decode_ausdr1 (int* aus_typ,double* aus_tab,int aus_siz,char* data);
58 int APT_decode_func(int* w_typ,double* w_tab,int w_siz,char* func,char* ausd);
59 
60 int APT_store_obj (int*, long*, int, int*, double*);
61 
62 char* APT_cp_ausd (char*, char*, int);
63 
64 char* APT_get_Val (double*, char*, double);
65 char* APT_get_Txt (char*, char*, double);
66 void APT_get_TxAll (char* outBuf, char* inBuf, double offset);
67 void APT_get_String (char*, char*, double);
68 int APT_solv_mod (Point2 *, int);
69 int APT_solv_mod_1 (Point2 *, int, int *, int);
70 int APT_solv_x_max (double *, Point2 *, int, int *);
71 int APT_solv_y_max (double *, Point2 *, int, int *);
72 int APT_solv_x_min (double *, Point2 *, int, int *);
73 int APT_solv_y_min (double *, Point2 *, int, int *);
74 
75 int APT_decode_pt1 (Point*, int, int*, double*);
76 //===================== EOF ==========================
Definition: NC_apt.h:32
int APT_decode_pt1(Point *, int, int *, double *)
int APT_decode_ausdr(int *aus_typ, double *aus_tab, int aus_siz, char **data)
Definition: NC_apt.c:16394
Definition: NC_apt.h:31
Definition: NC_apt.h:38
Definition: NC_apt.h:38
void APT_get_String(char *, char *, double)
Definition: NC_apt.c:18899
Definition: NC_apt.h:37
Definition: NC_apt.h:26
Definition: NC_apt.h:27
3D-plane, Typ_PLN
Definition: ut_geo.h:631
Definition: NC_apt.h:35
Definition: NC_apt.h:30
Definition: NC_apt.h:33
Definition: NC_apt.h:37
int APT_solv_x_min(double *, Point2 *, int, int *)
Definition: NC_apt.c:19103
Definition: NC_apt.h:37
3D-line, Typ_LN
Definition: ut_geo.h:361
Definition: NC_apt.h:27
3D-circle, Typ_CI
Definition: ut_geo.h:404
Definition: NC_apt.h:28
Definition: NC_apt.h:34
char * APT_cp_ausd(char *, char *, int)
Definition: NC_apt.c:18638
Typ_Cmd1
Definition: NC_apt.h:23
Definition: NC_apt.h:32
int APT_decode_vc(Vector *, int, int *, double *)
Definition: NC_apt.h:31
Typ_ObjGX.
Definition: ut_geo.h:240
Definition: NC_apt.h:32
int APT_solv_y_max(double *, Point2 *, int, int *)
Definition: NC_apt.c:19075
int APT_solv_mod(Point2 *, int)
Definition: NC_apt.c:18952
Definition: NC_apt.h:29
Definition: NC_apt.h:38
Definition: NC_apt.h:35
Definition: NC_apt.h:30
int APT_decode_ausdr1(int *aus_typ, double *aus_tab, int aus_siz, char *data)
Definition: NC_apt.c:16788
Definition: NC_apt.h:25
char * APT_get_Val(double *, char *, double)
Definition: NC_apt.c:18776
Definition: NC_apt.h:26
Definition: NC_apt.h:36
int APT_solv_y_min(double *, Point2 *, int, int *)
Definition: NC_apt.c:19131
Definition: NC_apt.h:28
int APT_decode_var(double *, int, int *, double *)
char ** APT_decode_txt(char **)
Definition: NC_apt.c:946
int APT_decode_inp(int, int *, double *)
Definition: NC_apt.h:36
void APT_get_TxAll(char *outBuf, char *inBuf, double offset)
Definition: NC_apt.c:18922
Definition: NC_apt.h:26
Definition: NC_apt.h:25
Definition: NC_apt.h:33
Definition: NC_apt.h:32
Definition: NC_apt.h:24
double * aus_tab
Definition: NC_apt.h:27
Definition: NC_apt.h:33
Definition: NC_apt.h:38
Definition: NC_apt.h:31
Definition: NC_apt.h:31
Definition: NC_apt.h:27
char outBuf[256]
Definition: prc_cut1__.c:136
int APT_decode_pln1(Plane *, int, int *, double *)
int APT_solv_mod_1(Point2 *, int, int *, int)
Definition: NC_apt.c:19005
Definition: NC_apt.h:29
Definition: NC_apt.h:26
char * APT_get_Txt(char *, char *, double)
Definition: NC_apt.c:18802
Definition: NC_apt.h:28
3D-point, Typ_PT
Definition: ut_geo.h:195
Definition: NC_apt.h:31
Definition: NC_apt.h:34
3D-vector, Typ_VC
Definition: ut_geo.h:209
Definition: NC_apt.h:24
Definition: NC_apt.h:30
Definition: NC_apt.h:25
Definition: NC_apt.h:29
int APT_decode_func(int *w_typ, double *w_tab, int w_siz, char *func, char *ausd)
Definition: NC_apt.c:17379
Definition: NC_apt.h:27
Definition: NC_apt.h:35
2D-point, Typ_PT2
Definition: ut_geo.h:189
int APT_store_obj(int *, long *, int, int *, double *)
Definition: NC_apt.c:17780
Definition: NC_apt.h:30
Definition: NC_apt.h:37
Definition: NC_apt.h:34
Definition: NC_apt.h:30
Definition: NC_apt.h:24
Definition: NC_apt.h:36
Definition: NC_apt.h:24
Definition: NC_apt.h:34
Definition: NC_apt.h:25
Definition: NC_apt.h:38
Definition: NC_apt.h:29
Definition: NC_apt.h:32
int APT_decode_ci(Circ *, int, int *, double *)
Definition: NC_apt.h:33
int APT_solv_x_max(double *, Point2 *, int, int *)
Definition: NC_apt.c:19046
Definition: NC_apt.h:28
Definition: NC_apt.h:29
int APT_decode_pt(Point *, int, int *, double *)
Definition: NC_apt.h:34
int APT_decode_ccv2(ObjGX *cv1, int aus_anz, int aus_typ[], double aus_tab[])
Definition: NC_apt.c:2466
Definition: NC_apt.h:36
Definition: NC_apt.h:33
int * aus_typ
Definition: NC_apt.h:36
int APT_decode_pln2(Plane *, int, int *, double *)
Definition: NC_apt.h:35
Definition: NC_apt.h:26
int APT_decode_ln(Line *, int, int *, double *)
Definition: NC_apt.h:24
Definition: NC_apt.h:35
Definition: NC_apt.h:37
Definition: NC_apt.h:25
Definition: NC_apt.h:28