gCAD3D 2.35
xa_aux.c File Reference

import / export aux-funcs More...

#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_TX.h"
#include "../ut/ut_txTab.h"
#include "../ut/ut_os.h"
#include "../ut/ut_txfil.h"
#include "../gui/gui_types.h"
#include "../db/ut_DB.h"
#include "../ut/func_types.h"
#include "../gr/ut_DL.h"
#include "../xa/xa.h"
#include "../xa/xa_uid.h"
#include "../xa/xa_mem.h"
#include "../xa/xa_aux.h"

Macros

#define FILETRENNCHAR   '/'
 

Functions

int AP_ImportWRL_ckTyp (char *fNam)
 
int AP_Import_obj_CB (ObjGX *ox1)
 
int AP_ImportXML (char *fnam)
 
void AP_ImportLwo (int mode, char *off, double scale, char *fnam)
 
int lwo_cb_savePoint (int ip, float *pt1)
 
int lwo_cb_saveFace (int vNr, int *vTab)
 
void AP_Import3ds (int mode, char *off, double scale, char *fnam)
 
int ds3_cb_savePoint (int ip, float *pt1)
 
int ds3_cb_saveFace (int vNr, int *vTab)
 
void AP_ExportIges__ (char *fnam)
 
int AP_ExportIges_Model (int modNr, FILE *fp1, FILE *fp2)
 
int AP_appr (char *obj, char *ref, double tol, double lmin, int mode)
 

Variables

int WC_modact_ind
 
double AP_txsiz
 Notes-Defaultsize. More...
 
double AP_txdimsiz
 Dimensions-Text-Defaultsize. More...
 
double APT_ModSiz
 
static Vector imp_off
 
static int imp_file
 
static FILE * imp_lun = NULL
 
static long * imp_itab
 
static long imp_itab_siz
 
long impTabSiz
 
long impNr
 
long impInd
 
ImpObjimpTab
 
static double imp_scale
 

Detailed Description

import / export aux-funcs

=====================================================
List_functions_start:
AP_ImportWRL_ckTyp check VRML-1 or VRML-2
AP_Import_obj_CB Callback des Iges-Import
AP_appr Approximieren; Curve -> Circ
List_functions_end:
=====================================================
// AP_ImportDxf

Macro Definition Documentation

#define FILETRENNCHAR   '/'

Function Documentation

int AP_ImportWRL_ckTyp ( char *  fNam)

returns Mtyp_WRL or Mtyp_WRL2 or -1 (other format) -2(file-open-error)

int AP_Import_obj_CB ( ObjGX ox1)
int AP_ImportXML ( char *  fnam)
void AP_ImportLwo ( int  mode,
char *  off,
double  scale,
char *  fnam 
)
int lwo_cb_savePoint ( int  ip,
float *  pt1 
)
int lwo_cb_saveFace ( int  vNr,
int *  vTab 
)
void AP_Import3ds ( int  mode,
char *  off,
double  scale,
char *  fnam 
)
int ds3_cb_savePoint ( int  ip,
float *  pt1 
)
int ds3_cb_saveFace ( int  vNr,
int *  vTab 
)
void AP_ExportIges__ ( char *  fnam)
int AP_ExportIges_Model ( int  modNr,
FILE *  fp1,
FILE *  fp2 
)
int AP_appr ( char *  obj,
char *  ref,
double  tol,
double  lmin,
int  mode 
)

Variable Documentation

int WC_modact_ind
double AP_txsiz

Notes-Defaultsize.

double AP_txdimsiz

Dimensions-Text-Defaultsize.

double APT_ModSiz
Vector imp_off
static
int imp_file
static
FILE* imp_lun = NULL
static
long* imp_itab
static
long imp_itab_siz
static
long impTabSiz
long impNr
long impInd
ImpObj* impTab
double imp_scale
static