NC_Main.h File Reference


Detailed Description

Go to the source code of this file.

Data Structures

struct  NC_recTyp
struct  NC_up_rec

Defines

#define APT_ind_INC   2500
#define NC_UPLISTSIZ   100

Functions

void WC_Init_all (int)
void WC_Init ()
void WC_Init_ObjG2 (ObjG2 *)
void WC_Init_Tol ()
void WC_EOF ()
int WC_PP_open (int mode)
void WC_setPosKreuz ()
void WC_setDisp3D (int)
int NC_setRefsys (int)
void NC_setGrafAtt (int AttInd)
void NC_set_actPos (Point2 *)
int WC_set_obj_stat (int stat)
void APT_Init ()
void APT_Reset ()
int WC_Work__ (int, char *)
int WC_Work1 (int, char *)
int APT_work_def (char *, char **)
int APT_work_NCCmd (char *, char **)
int APT_work_PrgCmd (char *, char **)
int APT_Lay_add (int layNr, int aus_anz, char *sptr, int *aus_typ, double *aus_tab)
int APT_UP_up (char)
int APT_UP_down ()
int APT_stack_NCCmd (char *buf, int)
int APT_input_get (char *)
int APT_ausg_NCCmd (int)
int APT_ausg_chTool (char *)
int APT_PP_Write_Lin (Point *)
int APT_PP_Write_Cir (Circ *)
int APT_PP_Write ()
void APT_PP_FROM ()
Point2 APT_transl2 (Point2 *)
Point2 APT_rotate3 (Point *)
double APT_transl_rad (double)
int APT_disp_obj (ObjG2 *, int, double)
int APT_disp_SymB (int typ, int att, Point *pt1)
void APT_disp_SymV (int, int att, Point2 *, double)
void APT_disp_SymV1 (int, int att, Point *, double)
void APT_disp_SymV2 (int, int att, Point *, Point *, double)
void APT_disp_SymV3 (int, int att, Point *, Vector *, double)
void APT_disp_TxtA (int, Point *, char *)
void APT_disp_TxtG (int typ, Point *pt1, float size, float angle, char *txt)
void APT_disp_Vec (int att, long, Point *, Vector *)
void APT_disp_ln (Point2 *, Point2 *, int, double, double)
void APT_disp_ac (ObjG2 *, int, double)
void APT_disp_cv (ObjG2 *, int, double)
void APT_disp_nam (int, long, void *)
void APT_hiliObj (long *, ObjG2 *, int, double)
void APT_DrawDimen (int typ, long apt_ind, ObjGX *dim1)
void APT_DrawTxtG (int typ, long apt_ind, GText *tx1)
void APT_DrawPoint (int, long, Point *)
void APT_DrawLine (int, long, Line *)
void APT_DrawCirc (int, long, Circ *)
void APT_DrawCurv (int, long, ObjGX *, double)
void APT_DrawModel (int, long, ModelRef *)
int APT_DrawSur (int typ, long apt_ind)
int APT_DrawSol (int typ, long apt_ind)
int APT_DrawPln (int typ, long objInd, Plane *pl1)
void APT_curv2ptArr (Point2 *, int *, ObjG2 *)
int PP_up_list (NC_up_rec **upAct, char *macnam, int workmode)
int WC_ask_WC_mode ()
ObjG2 WC_ask_actObj ()
Point2 WC_ask_actPos ()
double WC_ask_actZsur ()
double WC_ask_Zsur2 ()
double WC_ask_Zsur1 ()
double WC_ask_ModSiz ()
void APT_get_dreh (int *, double *, double)


Define Documentation

#define APT_ind_INC   2500

#define NC_UPLISTSIZ   100


Function Documentation

void WC_Init_all ( int   ) 

void WC_Init (  ) 

void WC_Init_ObjG2 ( ObjG2  ) 

void WC_Init_Tol (  ) 

compute all Tolerances from APT_ModSiz

void WC_EOF (  ) 

int WC_PP_open ( int  mode  ) 

void WC_setPosKreuz (  ) 

void WC_setDisp3D ( int   ) 

ON = 3D; else 2D

int NC_setRefsys ( int   ) 

void NC_setGrafAtt ( int  AttInd  ) 

set GR_Att_act

void NC_set_actPos ( Point2  ) 

int WC_set_obj_stat ( int  stat  ) 

0=OK, 1=workmode (obj in status nascendi; see APT_decode_ccv)

void APT_Init (  ) 

void APT_Reset (  ) 

int WC_Work__ ( int  ,
char *   
)

int WC_Work1 ( int  ,
char *   
)

int APT_work_def ( char *  ,
char **   
)

    Work DefinitionLine (decode, store obj in DB, display obj).
    RetCod: defTyp.

int APT_work_NCCmd ( char *  ,
char **   
)

int APT_work_PrgCmd ( char *  ,
char **   
)

int APT_Lay_add ( int  layNr,
int  aus_anz,
char *  sptr,
int *  aus_typ,
double *  aus_tab 
)

int APT_UP_up ( char   ) 

int APT_UP_down (  ) 

int APT_stack_NCCmd ( char *  buf,
int   
)

int APT_input_get ( char *   ) 

int APT_ausg_NCCmd ( int   ) 

int APT_ausg_chTool ( char *   ) 

int APT_PP_Write_Lin ( Point  ) 

int APT_PP_Write_Cir ( Circ  ) 

int APT_PP_Write (  ) 

void APT_PP_FROM (  ) 

Point2 APT_transl2 ( Point2  ) 

Point2 APT_rotate3 ( Point  ) 

double APT_transl_rad ( double   ) 

int APT_disp_obj ( ObjG2 ,
int  ,
double   
)

int APT_disp_SymB ( int  typ,
int  att,
Point pt1 
)

void APT_disp_SymV ( int  ,
int  att,
Point2 ,
double   
)

void APT_disp_SymV1 ( int  ,
int  att,
Point ,
double   
)

void APT_disp_SymV2 ( int  ,
int  att,
Point ,
Point ,
double   
)

void APT_disp_SymV3 ( int  ,
int  att,
Point ,
Vector ,
double   
)

void APT_disp_TxtA ( int  ,
Point ,
char *   
)

void APT_disp_TxtG ( int  typ,
Point pt1,
float  size,
float  angle,
char *  txt 
)

void APT_disp_Vec ( int  att,
long  ,
Point ,
Vector  
)

void APT_disp_ln ( Point2 ,
Point2 ,
int  ,
double  ,
double   
)

void APT_disp_ac ( ObjG2 ,
int  ,
double   
)

void APT_disp_cv ( ObjG2 ,
int  ,
double   
)

void APT_disp_nam ( int  ,
long  ,
void *   
)

void APT_hiliObj ( long *  ,
ObjG2 ,
int  ,
double   
)

    ind == -1: es wird ein temporäres Obj. erzeugt.
    ind == -2: es wird ein dynam. Obj. erzeugt (der Ind wird retourniert).

void APT_DrawDimen ( int  typ,
long  apt_ind,
ObjGX dim1 
)

void APT_DrawTxtG ( int  typ,
long  apt_ind,
GText tx1 
)

void APT_DrawPoint ( int  ,
long  ,
Point  
)

void APT_DrawLine ( int  ,
long  ,
Line  
)

void APT_DrawCirc ( int  ,
long  ,
Circ  
)

void APT_DrawCurv ( int  ,
long  ,
ObjGX ,
double   
)

void APT_DrawModel ( int  ,
long  ,
ModelRef  
)

int APT_DrawSur ( int  typ,
long  apt_ind 
)

int APT_DrawSol ( int  typ,
long  apt_ind 
)

int APT_DrawPln ( int  typ,
long  objInd,
Plane pl1 
)

void APT_curv2ptArr ( Point2 ,
int *  ,
ObjG2  
)

int PP_up_list ( NC_up_rec **  upAct,
char *  macnam,
int  workmode 
)

int WC_ask_WC_mode (  ) 

ObjG2 WC_ask_actObj (  ) 

Point2 WC_ask_actPos (  ) 

double WC_ask_actZsur (  ) 

double WC_ask_Zsur2 (  ) 

double WC_ask_Zsur1 (  ) 

double WC_ask_ModSiz (  ) 

void APT_get_dreh ( int *  ,
double *  ,
double   
)


Generated on Sat May 30 09:31:54 2009 for gCAD3D by  doxygen 1.5.6