NC_apt.c File Reference


Detailed Description

CommandInterpreter - decode-functions.

=====================================================
Liste_Funktionen_Beginn:

APT_get_modMax           return APT_modMax

APT_decode_obj           Text, zB "P12" zerlegen into objTyp und objInd.
APT_decode_txt           remove "" from "xx"
APT_dec_Ang_Obj          Angle from Value or Point (out als rad)
APT_decode_ang           Angle in Degrees
APT_decode_angd1
APT_decode_angr1
APT_decode_mod
APT_dec_Par_Obj          paramter from curve-obj
APT_decode_func          decode functions (<fncnam>(<parameters>))
APT_decode_ausdr         decode string -> aus_typ/aus_tab
APT_decode_ausdr1        decode expr -> aus_typ/aus_tab
APT_decode_comp1         do math operations in aus_typ/aus_tab
APT_decode_inp           aus_typ/aus_tab -> IN_obj
APT_decode_ValTab        aus_typ/aus_tab -> fTab

APT_decode_var
APT_decode_pt
  APT_decode_pt0
  APT_decode_pt1
  APT_decode_pt2
APT_decode_vc
APT_decode_ln
APT_decode_ci
  APT_decode_ci1
  APT_decode_cttr
  APT_decode_cttt
APT_decode_ell
APT_decode_clot
APT_decode_psp3
APT_decode_bsp
APT_decode_pt2bsp
APT_decode_conv_cv
APT_decode_conv_pol
APT_decode_conv_pol2
APT_decode_rbsp
APT_decode_rec
APT_decode_rect1
APT_decode_rect2
APT_decode_cv
APT_decode_pol
APT_decode_pol2
APT_decode_ccv
APT_decode_ccv2
APT_decode_gtxt
APT_decode_dim3
APT_decode_dima
APT_decode_dimen
APT_decode_dimdia
APT_decode_ldr
APT_decode_ldrs
APT_decode_ldrc
APT_decode_ldrp
APT_decode_tag
APT_decode_note
APT_decode_img
APT_decode_msh__
APT_decode_msh_p
APT_decode_pln1
APT_decode_pln2
APT_decode_sur
APT_decode_spl
APT_decode_sru
APT_decode_srv
APT_decode_sbsp
APT_decode_s_sph
APT_decode_s_cyl
APT_decode_s_con  ?
APT_decode_hat
APT_decode_fsub
APT_decode_sol
APT_decode_bsph
APT_decode_bcon
APT_decode_btor
APT_decode_model
APT_decode_refsys1
APT_decode_Activ
APT_decode_att
APT_decode_tra
APT_decode_tool

APT_decode_goAxis
APT_decode_goRadius

APT_store_obj            create DB-object from aus_typ/aus_tab

APT_cp_ausd              copy expr
APT_get_String           copy String until 1. ""
APT_get_TxAll            copy complete String; remove 1. & last ""
APT_get_Txt              copy next word from string
APT_get_Val
APT_str2fnam

APT_check_cmdSub         search word in Cmd1Tab

APT_iso_cktyp            define type of resulting object for isoparmetric curve
APT_iso_obj              decode "ISO A# <parVal> [CX]"
APT_trim_obj
APT_trim_u0
APT_trim_u1
APT_tra_obj
APT_prj_obj_vc
APT_prj_obj_perp
APT_int_obj              intersect objs
APT_mir_obj

APT_solv_mod
APT_solv_mod_1
APT_solv_x_max
APT_solv_y_max
APT_solv_x_min
APT_solv_y_min
APT_solv3D_mod
APT_solv3d_LOZ
APT_solv3d_LOX
APT_solv3d_HIZ
APT_solv3d_HIY
APT_solv3d_HIX

Liste_Funktionen_Ende:
=====================================================

#include "../xa/MS_Def0.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_TX.h"
#include "../ut/ut_umem.h"
#include "../ut/ut_bspl.h"
#include "../ut/ut_elli.h"
#include "../ut/ut_plg.h"
#include "../gr/ut_gr.h"
#include "../xa/xa.h"
#include "../xa/xa_mem.h"
#include "../xa/xa_ed.h"
#include "../gr/ut_DL.h"
#include "../gr/ut_UI.h"
#include "../db/ut_DB.h"
#include "../ci/NC_Main.h"
#include "../ci/NC_apt.h"

Functions

int APT_get_modMax ()
int APT_decode_pt0 (Point *pt_out, int *ausInd, int aus_anz, int *aus_typ, double *aus_tab)
int APT_decode_pt2 (long *ptInd, int *ausInd, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_pt1 (Point *pt_out, int aus_ind, int aus_typ[], double aus_tab[])
int APT_decode_ci1 (Circ *ci1, Point *old_pt, int aus_anz, int *aus_typ, double *aus_tab)
int APT_decode_obj (int *defTyp, int *defInd, char *txtIn)
char ** APT_decode_txt (char **buf)
int APT_decode_mod (double *d1, char *cBuf)
int APT_decode_angr1 (float *f1, int *ind, int aus_typ[], double aus_tab[])
int APT_decode_angd1 (float *f1, int *ind, int aus_typ[], double aus_tab[])
int APT_decode_ang (double *d1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_var (double *d1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_conv_pol2 (ObjGX *cv_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_conv_pol (ObjGX *cv_out, Memspc *memSeg1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_conv_cv (CurvBSpl *cv1, Memspc *tbuf1, Memspc *tbuf2, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_rect2 (ObjGX *cv1, Memspc *tbuf1, Memspc *tbuf2, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ccv (ObjGX *cv1, Memspc *tbuf1, Memspc *tbuf2, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ccv2 (ObjGX *cv1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_pt2bsp (CurvBSpl *cv1, Memspc *tbuf1, Memspc *tbuf2, int aus_anz, int *aus_typ, double *aus_tab)
int APT_decode_bsp (ObjGX *ox1, Memspc *tbuf1, Memspc *tbuf2, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_rbsp (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ValTab (double *fTab, int *fTabNr, int fTabSiz, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_psp3 (ObjGX *cv_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_rec (ObjGX *cv_out, Memspc *memSeg1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_clot (ObjGX *cv_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ell (ObjGX *cv_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_rect1 (ObjGX *cv_out, Memspc *memSeg1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_cv (ObjGX *cvo, int *iNew, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_pol (ObjGX *cv_out, Memspc *memSeg1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_pol2 (ObjGX *cv_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_tra (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_tool (BTool *tl1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_Activ (Activity *act, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_pln1 (Plane *pln1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_pln2 (Plane *pl1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_spl (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_hat (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_fsub (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_dec_Par_Obj (double *po, int aus_typ, double aus_tab, int cvTyp, long cvInd)
int APT_dec_Ang_Obj (double *ao, int mode, int *aus_typ, double *aus_tab, Plane *pl1)
int APT_decode_srv (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_s_sph (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_s_cyl (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_s_con (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_goAxis (Plane *pln, int *aus_typ, double *aus_tab)
int APT_decode_goRadius (double *rdc, int mode, int *aus_typ, double *aus_tab, Plane *pln)
int APT_decode_sru (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_sbsp (ObjGX *ox1, Memspc *tbuf1, Memspc *tbuf2, Memspc *tbuf3, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_msh_p (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_msh__ (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_sur (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[], Memspc *wrkSpc)
int APT_decode_bsph (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_bcon (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_btor (ObjGX *ox1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_refsys1 (Vector *vx, Vector *vz, double *scl, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_model (ObjGX *bd1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_sol (ObjGX *bd1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_att (GR_Att *att1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_vc (Vector *vc_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_dimen (Dimen *dim1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_dimdia (Dimen *dim1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ldrp (AText *atx, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ldrc (AText *atx, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_tag (AText *atx, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ldrs (AText *atx, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ldr (Dimen *dim1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_dima (Dimen *dim1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_img (AText *atx, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_note (ObjGX *oxo, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_dim3 (Dim3 *ds, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_gtxt (GText *gtx1, int aus_anz, int aus_typ[], double aus_tab[])
int APT_solv3d_HIX (Point *pta, int PtAnz)
int APT_solv3d_HIY (Point *pta, int PtAnz)
int APT_solv3d_HIZ (Point *pta, int PtAnz)
int APT_solv3d_LOX (Point *pta, int PtAnz)
int APT_solv3d_LOY (Point *pta, int PtAnz)
int APT_solv3d_LOZ (Point *pta, int PtAnz)
int APT_solv3D_mod (Point pa[], int ptNr, int modTab[], int modNr)
int APT_decode_pt (Point *pt_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ln (Line *ln_out, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_inp (int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_cttt (Circ *ciO, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_cttr (Circ *ciO, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ci (Circ *ciO, int aus_anz, int aus_typ[], double aus_tab[])
int APT_decode_ausdr (int *aus_typ, double *aus_tab, int aus_siz, char **data)
int APT_decode_comp1 (int *aus_typ, double *aus_tab, int aus_anz)
int APT_decode_ausdr1 (int *aus_typ, double *aus_tab, int aus_siz, char *data)
int APT_decode_func (int *w_typ, double *w_tab, int w_siz, char *func, char *ausd)
int APT_store_obj (int *eTyp, int *eInd, int aus_anz, int *aus_typ, double *aus_tab)
char * APT_cp_ausd (char *txtOut, char *txtIn, int maxSiz)
int APT_check_cmdSub (char *wort)
char * APT_get_Val (double *v1, char *inBuf, double offset)
char * APT_get_Txt (char *outBuf, char *inBuf, double offset)
int APT_str2fnam (char *fnam, char *str)
void APT_get_String (char *outBuf, char *inBuf, double offset)
void APT_get_TxAll (char *outBuf, char *inBuf, double offset)
int APT_solv_mod (Point2 *pta, int PtAnz)
int APT_solv_mod_1 (Point2 *pta, int PtAnz, int *PtInd, int ModAct)
int APT_solv_x_max (double *max, Point2 *pta, int PtAnz, int *PtInd)
int APT_solv_y_max (double *max, Point2 *pta, int PtAnz, int *PtInd)
int APT_solv_x_min (double *min, Point2 *pta, int PtAnz, int *PtInd)
int APT_solv_y_min (double *min, Point2 *pta, int PtAnz, int *PtInd)
int APT_trim_obj (void *oxo, int aus_anz, int aus_typ[], double aus_tab[], Memspc *wrkSpc)
int APT_trim_u0 (int *ii, int *imod, int pnr)
int APT_trim_u1 (int *ii, int pnr, Point *pa, Point *p1, Point *p2)
int APT_tra_obj (void *oxo, int *oSiz, int aus_anz, int aus_typ[], double aus_tab[], Memspc *wrkSpc)
int APT_prj_obj_vc (void *oxo, int aus_anz, int aus_typ[], double aus_tab[], Memspc *wrkSpc)
int APT_prj_obj_perp (void *oxo, int aus_anz, int aus_typ[], double aus_tab[], Memspc *wrkSpc)
int APT_mir_obj (void *oxo, int aus_anz, int aus_typ[], double aus_tab[], Memspc *wrkSpc)
int APT_iso_obj (void *oxo, int aus_anz, int aus_typ[], double aus_tab[], Memspc *wrkSpc)
int APT_iso_cktyp (char *ep[])
int APT_int_cktyp (char *ep[])
int APT_int_obj (int *oTyp, void *oxo, int *oSiz, int *aus_anz, int aus_typ[], double aus_tab[])

Variables

int aus_SIZ
 size of aus_typ & aus_tab
int APT_line_act
int APT_2d_to_3d_mode
Mat_4x3 APT_2d_to_3d_Mat
Plane APT_2d_to_3d_Pln
double APT_ln_len
int APT_obj_stat
int APT_obj_typ
int APT_3d_mode
char * APT_defTxt
Memspc APTSpcObj
Memspc APTSpcTmp
int WC_sur_ind
 Der Index auf die ActiveConstrPlane.
Plane WC_sur_act
 die fuer Definition (zB P10=0,0) aktive Plane
Mat_4x3 WC_sur_mat
 TrMat of ActiveConstrPlane.
Mat_4x3 WC_sur_imat
 inverse TrMat of ActiveConstrPlane
char WC_modnam [128]
 active Modelname - without path
int WC_mod_stat
 -1=primary Model is active;
int Cmd0Anz = 30
char * Cmd0Tab []
int Cmd1Anz = 66
char * Cmd1Tab []
ObjG IN_obj [20]
int IN_anz
int IN_Dreh
int IN_ModIn
int IN_Mod2In
int ModTab [4]
int ModAnz
static int APT_modMax = 4
static char APT_spc1 [512]
int APT_prim_typ
static long APT_prim_ind
static int APT_prim_seg
static int APT_prim_sg2
static double APT_prim_par


Function Documentation

int APT_get_modMax (  ) 

int APT_decode_pt0 ( Point pt_out,
int *  ausInd,
int  aus_anz,
int *  aus_typ,
double *  aus_tab 
)

int APT_decode_pt2 ( long *  ptInd,
int *  ausInd,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_pt1 ( Point pt_out,
int  aus_ind,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ci1 ( Circ ci1,
Point old_pt,
int  aus_anz,
int *  aus_typ,
double *  aus_tab 
)

int APT_decode_obj ( int *  defTyp,
int *  defInd,
char *  txtIn 
)

char** APT_decode_txt ( char **  buf  ) 

int APT_decode_mod ( double *  d1,
char *  cBuf 
)

int APT_decode_angr1 ( float *  f1,
int *  ind,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_angd1 ( float *  f1,
int *  ind,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ang ( double *  d1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_var ( double *  d1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_conv_pol2 ( ObjGX cv_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_conv_pol ( ObjGX cv_out,
Memspc memSeg1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_conv_cv ( CurvBSpl cv1,
Memspc tbuf1,
Memspc tbuf2,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_rect2 ( ObjGX cv1,
Memspc tbuf1,
Memspc tbuf2,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ccv ( ObjGX cv1,
Memspc tbuf1,
Memspc tbuf2,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ccv2 ( ObjGX cv1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_pt2bsp ( CurvBSpl cv1,
Memspc tbuf1,
Memspc tbuf2,
int  aus_anz,
int *  aus_typ,
double *  aus_tab 
)

int APT_decode_bsp ( ObjGX ox1,
Memspc tbuf1,
Memspc tbuf2,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_rbsp ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ValTab ( double *  fTab,
int *  fTabNr,
int  fTabSiz,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_psp3 ( ObjGX cv_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_rec ( ObjGX cv_out,
Memspc memSeg1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_clot ( ObjGX cv_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ell ( ObjGX cv_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_rect1 ( ObjGX cv_out,
Memspc memSeg1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_cv ( ObjGX cvo,
int *  iNew,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_pol ( ObjGX cv_out,
Memspc memSeg1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_pol2 ( ObjGX cv_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_tra ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_tool ( BTool tl1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_Activ ( Activity act,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_pln1 ( Plane pln1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_pln2 ( Plane pl1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_spl ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_hat ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_fsub ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_dec_Par_Obj ( double *  po,
int  aus_typ,
double  aus_tab,
int  cvTyp,
long  cvInd 
)

int APT_dec_Ang_Obj ( double *  ao,
int  mode,
int *  aus_typ,
double *  aus_tab,
Plane pl1 
)

int APT_decode_srv ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_s_sph ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_s_cyl ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_s_con ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_goAxis ( Plane pln,
int *  aus_typ,
double *  aus_tab 
)

int APT_decode_goRadius ( double *  rdc,
int  mode,
int *  aus_typ,
double *  aus_tab,
Plane pln 
)

int APT_decode_sru ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_sbsp ( ObjGX ox1,
Memspc tbuf1,
Memspc tbuf2,
Memspc tbuf3,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_msh_p ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_msh__ ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_sur ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[],
Memspc wrkSpc 
)

int APT_decode_bsph ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_bcon ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_btor ( ObjGX ox1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_refsys1 ( Vector vx,
Vector vz,
double *  scl,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_model ( ObjGX bd1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_sol ( ObjGX bd1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_att ( GR_Att att1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_vc ( Vector vc_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_dimen ( Dimen dim1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_dimdia ( Dimen dim1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ldrp ( AText atx,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ldrc ( AText atx,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_tag ( AText atx,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ldrs ( AText atx,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ldr ( Dimen dim1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_dima ( Dimen dim1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_img ( AText atx,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_note ( ObjGX oxo,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_dim3 ( Dim3 ds,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_gtxt ( GText gtx1,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_solv3d_HIX ( Point pta,
int  PtAnz 
)

int APT_solv3d_HIY ( Point pta,
int  PtAnz 
)

int APT_solv3d_HIZ ( Point pta,
int  PtAnz 
)

int APT_solv3d_LOX ( Point pta,
int  PtAnz 
)

int APT_solv3d_LOY ( Point pta,
int  PtAnz 
)

int APT_solv3d_LOZ ( Point pta,
int  PtAnz 
)

int APT_solv3D_mod ( Point  pa[],
int  ptNr,
int  modTab[],
int  modNr 
)

int APT_decode_pt ( Point pt_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ln ( Line ln_out,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_inp ( int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_cttt ( Circ ciO,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_cttr ( Circ ciO,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ci ( Circ ciO,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

int APT_decode_ausdr ( int *  aus_typ,
double *  aus_tab,
int  aus_siz,
char **  data 
)

int APT_decode_comp1 ( int *  aus_typ,
double *  aus_tab,
int  aus_anz 
)

int APT_decode_ausdr1 ( int *  aus_typ,
double *  aus_tab,
int  aus_siz,
char *  data 
)

int APT_decode_func ( int *  w_typ,
double *  w_tab,
int  w_siz,
char *  func,
char *  ausd 
)

int APT_store_obj ( int *  eTyp,
int *  eInd,
int  aus_anz,
int *  aus_typ,
double *  aus_tab 
)

char* APT_cp_ausd ( char *  txtOut,
char *  txtIn,
int  maxSiz 
)

int APT_check_cmdSub ( char *  wort  ) 

char* APT_get_Val ( double *  v1,
char *  inBuf,
double  offset 
)

char* APT_get_Txt ( char *  outBuf,
char *  inBuf,
double  offset 
)

    APT_get_Txt              copy next word from string
    starting-position is inBuf[offset]
    
    see also APT_get_String APT_get_Val

int APT_str2fnam ( char *  fnam,
char *  str 
)

    make (absolute) filename from string
    Retcode:
       0 = abs. Pfad;
       1 = was relativ; changed to absolut <base</tmp/
    
    TODO: replace with OS_dirAbs_fNam

void APT_get_String ( char *  outBuf,
char *  inBuf,
double  offset 
)

    copy word until double-quote
    
    see also APT_get_Txt APT_get_TxAll

void APT_get_TxAll ( char *  outBuf,
char *  inBuf,
double  offset 
)

    copy string, remove outer enclosing double-quotes ".."
    eg in: "LDMOD "Data/sample_mod_blech1.gcad""
       out: LDMOD "Data/sample_mod_blech1.gcad"
    
    see also APT_get_String APT_get_Txt

int APT_solv_mod ( Point2 pta,
int  PtAnz 
)

int APT_solv_mod_1 ( Point2 pta,
int  PtAnz,
int *  PtInd,
int  ModAct 
)

int APT_solv_x_max ( double *  max,
Point2 pta,
int  PtAnz,
int *  PtInd 
)

int APT_solv_y_max ( double *  max,
Point2 pta,
int  PtAnz,
int *  PtInd 
)

int APT_solv_x_min ( double *  min,
Point2 pta,
int  PtAnz,
int *  PtInd 
)

int APT_solv_y_min ( double *  min,
Point2 pta,
int  PtAnz,
int *  PtInd 
)

int APT_trim_obj ( void *  oxo,
int  aus_anz,
int  aus_typ[],
double  aus_tab[],
Memspc wrkSpc 
)

int APT_trim_u0 ( int *  ii,
int *  imod,
int  pnr 
)

int APT_trim_u1 ( int *  ii,
int  pnr,
Point pa,
Point p1,
Point p2 
)

int APT_tra_obj ( void *  oxo,
int *  oSiz,
int  aus_anz,
int  aus_typ[],
double  aus_tab[],
Memspc wrkSpc 
)

int APT_prj_obj_vc ( void *  oxo,
int  aus_anz,
int  aus_typ[],
double  aus_tab[],
Memspc wrkSpc 
)

int APT_prj_obj_perp ( void *  oxo,
int  aus_anz,
int  aus_typ[],
double  aus_tab[],
Memspc wrkSpc 
)

int APT_mir_obj ( void *  oxo,
int  aus_anz,
int  aus_typ[],
double  aus_tab[],
Memspc wrkSpc 
)

int APT_iso_obj ( void *  oxo,
int  aus_anz,
int  aus_typ[],
double  aus_tab[],
Memspc wrkSpc 
)

int APT_iso_cktyp ( char *  ep[]  ) 

int APT_int_cktyp ( char *  ep[]  ) 

int APT_int_obj ( int *  oTyp,
void *  oxo,
int *  oSiz,
int *  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)


Variable Documentation

int aus_SIZ

size of aus_typ & aus_tab

double APT_ln_len

char* APT_defTxt

Der Index auf die ActiveConstrPlane.

die fuer Definition (zB P10=0,0) aktive Plane

TrMat of ActiveConstrPlane.

inverse TrMat of ActiveConstrPlane

char WC_modnam[128]

active Modelname - without path

-1=primary Model is active;

int Cmd0Anz = 30

char* Cmd0Tab[]

Initial value:

 {

  "RAD",         "DIST",        "ANG",         " ",           "MOD",
  "X",           "Y",           "Z",           " ",           "MULT",

  "SQRT",        "SIN",         "COS",         "TAN",         "ABS",
  "FIX",         "RND",         " ",           " ",           "NEW",

  "D",           "P",           " ",           " ",           " ",
  " ",           " ",           " ",           " ",           " "}

int Cmd1Anz = 66

char* Cmd1Tab[]

Initial value:

 {

  "ON",          "OFF",         "IN",          "OUT",         "ARC",
  "HI",          "LO",          "MA",          "TAG",         "PERP",

  "CCW",         "CW",          "ELL",         "IMG",         "CCV2",
  "POL2",        "POL",         "PSP3",        "BSP",         "CCV",

  "RCIR",        "RSTRIP",      "SRU",         "HAT",         "SRV",
  "PRISM",       "SPH",         "CON",         "TOR",         "CYL",

  "CUT",         "REV",         "POCK",        "LE",          "RI",
  "DIM",         "DIMA",        "LDR",         "SKWC",        "FSUB",

  "PRJ",         "TRA",         "ROT",         "MIR",         "TXA",
  "DIMD",        "DIMR",        "DIM3",        "REC",         "INT",

  "RADI",        "RADC",        "RBSP",        "ARC1",         "CTRL",
  "LDRP",        "LDRC",        "LDRS",        "CTLG",         "ISO",
  "FW",          "CX",          "PTAB",        "MSH",          "CLOT",
  "TNG",         ""}

ObjG IN_obj[20]

int IN_anz

int IN_Dreh

int IN_ModIn

int IN_Mod2In

int ModTab[4]

int ModAnz

int APT_modMax = 4 [static]

char APT_spc1[512] [static]

long APT_prim_ind [static]

int APT_prim_seg [static]

int APT_prim_sg2 [static]

double APT_prim_par [static]


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