00001
00002
00003
00004
00005
00010
00011
00012
00013
00014
00015
00016
00017
00018 #define Typ_nc_cut 0
00019 #define Typ_nc_drill 1
00020
00021
00022 enum Typ_Cmd1 {
00023 T_ON_, T_OFF_, T_IN, T_OUT, T_ARC,
00024 T_HI, T_LO, T_MA, T_TAG, T_PERP,
00025 T_CCW, T_CW, T_ELL, T_IMG, T_CCV2,
00026 T_POL2, T_POL, T_PSP3, T_BSP, T_CCV,
00027 T_RCIR, T_RSTRIP, T_SRU, T_HAT, T_SRV,
00028 T_PRISM, T_SPH, T_CON, T_TOR, T_CYL,
00029 T_CUT, T_REV, T_POCK, T_RGT, T_LFT,
00030 T_DIM, T_DIMA, T_LDR, T_SKWC, T_FSUB,
00031 T_PRJ, T_TRA, T_ROT, T_MIR, T_TXA,
00032 T_DIMD, T_DIMR, T_DIM3, T_REC, T_INT,
00033 T_RISO, T_RCON, T_RBSP, T_ARC1, T_CTRL,
00034 T_LDRP, T_LDRC, T_LDRS, T_CTLG, T_ISO,
00035 T_FW, T_CX, T_PTAB, T_MSH, T_CLOT,
00036 T_TNG};
00037
00038
00039 int APT_decode_obj (int*, int*, char*);
00040 char** APT_decode_txt (char**);
00041 int APT_decode_var (double*,int, int*, double*);
00042 int APT_decode_vc (Vector*, int, int*, double*);
00043 int APT_decode_pt (Point*, int, int*, double*);
00044 int APT_decode_ln (Line *, int, int*, double*);
00045 int APT_decode_ci (Circ *, int, int*, double*);
00046 int APT_decode_pln1 (Plane *, int, int*, double*);
00047 int APT_decode_pln2 (Plane *, int, int*, double*);
00048 int APT_decode_tool (BTool *, int , int *, double *);
00049 int APT_decode_inp (int , int *, double *);
00050 int APT_decode_obj (int* defTyp, int* defInd, char* txtIn);
00051 int APT_decode_ccv (ObjGX *cv1, Memspc *tbuf1, Memspc *tbuf2,
00052 int aus_anz,int aus_typ[],double aus_tab[]);
00053 int APT_decode_ccv2 (ObjGX *cv1,int aus_anz,int aus_typ[],double aus_tab[]);
00054
00055
00056 int APT_decode_ausdr (int *aus_typ,double *aus_tab,int aus_siz,char** data);
00057 int APT_decode_ausdr1 (int* aus_typ,double* aus_tab,int aus_siz,char* data);
00058 int APT_decode_func(int* w_typ,double* w_tab,int w_siz,char* func,char* ausd);
00059 int APT_check_cmdSub (char*);
00060
00061 int APT_store_obj (int*, int*, int, int*, double*);
00062
00063 char* APT_cp_ausd (char*, char*, int);
00064
00065 char* APT_get_Val (double*, char*, double);
00066 char* APT_get_Txt (char*, char*, double);
00067 void APT_get_TxAll (char* outBuf, char* inBuf, double offset);
00068 void APT_get_String (char*, char*, double);
00069 int APT_solv_mod (Point2 *, int);
00070 int APT_solv_mod_1 (Point2 *, int, int *, int);
00071 int APT_solv_x_max (double *, Point2 *, int, int *);
00072 int APT_solv_y_max (double *, Point2 *, int, int *);
00073 int APT_solv_x_min (double *, Point2 *, int, int *);
00074 int APT_solv_y_min (double *, Point2 *, int, int *);
00075
00076 int APT_decode_pt1 (Point*, int, int*, double*);
00077