gCAD3D 2.40
xa_meas.c File Reference

measure More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_cast.h"
#include "../ci/NC_apt.h"
#include "../gui/gui__.h"
#include "../ut/func_types.h"
#include "../gr/ut_GL.h"
#include "../xa/xa_msg.h"
#include "../xa/xa_ui.h"
#include "../xa/xa_sele.h"
#include "../xa/xa_mem.h"

Macros

#define TRUE   1
 
#define FALSE   0
 

Functions

int Meas_sel_CB (int src, long dli)
 
int Meas_key_CB (int key)
 
int Meas_ent_CB (MemObj *mo, void **data)
 
int Meas_opt_CB (MemObj *mo, void **data)
 
int Meas_win__ (MemObj *parent, void **data)
 
int Meas_init ()
 
int Meas_exit__ ()
 
int Meas_sel_ln1 (int typ, long dbi, long dli)
 
int Meas_normal (Point *pto, Point *pt1, char *sObj)
 
int Meas_ck_active ()
 
int Meas_work__ ()
 
int Meas_work_pp (Point *pt1, Point *pt2)
 
int Meas_upd_e ()
 
int Meas_upd_styp ()
 

Variables

MemObj UIw_Box_TB
 
Plane WC_sur_act
 the active construction-plane More...
 
static MemObj Meas_tb =GUI_OBJ_NEW
 
static MemObj Meas_e1
 
static MemObj Meas_e2
 
static int Meas_func =0
 
static int Meas_ie =0
 
static int Meas__obj_stat
 

Detailed Description

measure

=====================================================
List_functions_start:
Meas_init main-entrypoint
Meas_win__ create Toolbar
Meas_key_CB callback key
Meas_sel_CB callback userselection
Meas_sel_ln1 sel. line
Meas_work_pp draw temp. line
Meas_upd_e style ?
Meas_normal normal point of pti onto object
List_functions_end:
=====================================================
inputfields: Meas_e1, Meas_e2

Macro Definition Documentation

#define TRUE   1
#define FALSE   0

Function Documentation

int Meas_sel_CB ( int  src,
long  dli 
)
int Meas_key_CB ( int  key)
int Meas_ent_CB ( MemObj mo,
void **  data 
)
int Meas_opt_CB ( MemObj mo,
void **  data 
)
int Meas_win__ ( MemObj parent,
void **  data 
)
int Meas_init ( )
int Meas_exit__ ( )
int Meas_sel_ln1 ( int  typ,
long  dbi,
long  dli 
)
int Meas_normal ( Point pto,
Point pt1,
char *  sObj 
)
int Meas_ck_active ( )
int Meas_work__ ( )
int Meas_work_pp ( Point pt1,
Point pt2 
)
int Meas_upd_e ( )
int Meas_upd_styp ( )

Variable Documentation

MemObj UIw_Box_TB
Plane WC_sur_act

the active construction-plane

MemObj Meas_tb =GUI_OBJ_NEW
static
MemObj Meas_e1
static
MemObj Meas_e2
static
int Meas_func =0
static
int Meas_ie =0
static
int Meas__obj_stat
static