gCAD3D 2.40
tst_mshig.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/gl.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_geo_const.h"
#include "../ut/ut_ox_base.h"
#include "../ut/ut_memTab.h"
#include "../ut/ut_itmsh.h"
#include "../ut/ut_face.h"
#include "../ut/ut_os.h"
#include "../db/ut_DB.h"
#include "../xa/xa_mem.h"

Data Structures

struct  TessDat
 
struct  TessStru
 

Macros

#define TessDatSiz   256
 
#define MSHIG_NR_CNTS   50
 
#define MSHIG_NR_PTS   1000
 

Functions

int MSHIG_init_ts ()
 
int MSHIG_clear_ts ()
 
int MSHIG_fnam (char *fnam, int mdli, long dbi)
 
int MSHIG_clear_sur (int mdli, long dbi)
 
int MSHIG_load_sur (long dbi, Memspc *tbuf1)
 
int MSHIG_init_sur (long dbi, Memspc *tbuf1)
 
int MSHIG_init_BSP__ (TessStru *ts1, TessDat *td1)
 
int MSHIG_init_PLN__ (TessStru *ts1, TessDat *td1)
 
int MSHIG_init_bnd__ (TessStru *ts1, TessDat *td1)
 
int MSHIG_init_bnd_add (Point *pa, int ptNr, int cTyp, TessStru *ts1)
 
int MSHIG_init_ipa_add (int ptNr, int ips, TessStru *ts1)
 
int MSHIG_init_bnd_orient (MemTab(IndTab)*ncnt, Point *pTab, Vector *vcz)
 
int MSHIG_wrf__ ()
 
int MSHIG_rdf__ (int mdli, long dbi)
 
int MSHIG_view__ (int iatt)
 
int MSHIG_nfac_ipatch (MemTab(Fac3)*ifa, Point **pta, Memspc *tbuf1, long dbiSur)
 
int MSHIG_facNr_ipatch (TessStru *ts1)
 

Variables

int WC_modact_ind
 
static TessDat MSHIG_td
 
static TessStru MSHIG_ts
 

Macro Definition Documentation

#define TessDatSiz   256
#define MSHIG_NR_CNTS   50
#define MSHIG_NR_PTS   1000

Function Documentation

int MSHIG_init_ts ( )
int MSHIG_clear_ts ( )
int MSHIG_fnam ( char *  fnam,
int  mdli,
long  dbi 
)
int MSHIG_clear_sur ( int  mdli,
long  dbi 
)
int MSHIG_load_sur ( long  dbi,
Memspc tbuf1 
)
int MSHIG_init_sur ( long  dbi,
Memspc tbuf1 
)
int MSHIG_init_BSP__ ( TessStru ts1,
TessDat td1 
)
int MSHIG_init_PLN__ ( TessStru ts1,
TessDat td1 
)
int MSHIG_init_bnd__ ( TessStru ts1,
TessDat td1 
)
int MSHIG_init_bnd_add ( Point pa,
int  ptNr,
int  cTyp,
TessStru ts1 
)
int MSHIG_init_ipa_add ( int  ptNr,
int  ips,
TessStru ts1 
)
int MSHIG_init_bnd_orient ( MemTab(IndTab)*  ncnt,
Point pTab,
Vector vcz 
)
int MSHIG_wrf__ ( )
int MSHIG_rdf__ ( int  mdli,
long  dbi 
)

Input: ts1->dbi ts1->mdli Retcod: 0 surface is already loaded in MSHIG_ts -1 no meshfile exists for this surface

int MSHIG_view__ ( int  iatt)
int MSHIG_nfac_ipatch ( MemTab(Fac3)*  ifa,
Point **  pta,
Memspc tbuf1,
long  dbiSur 
)
int MSHIG_facNr_ipatch ( TessStru ts1)

Variable Documentation

int WC_modact_ind
TessDat MSHIG_td
static
TessStru MSHIG_ts
static
Initial value:
= {
.tab = _MEMTAB_NUL,
.pst = _MEMTAB_NUL,
.ipa = _MEMTAB_NUL,
.pa2 = _MEMTAB_NUL,
.pa3 = _MEMTAB_NUL,
.vc3 = _MEMTAB_NUL,
.gbx = _GRIDBOX_NUL,
.col = _ColRGB_NUL}
#define _GRIDBOX_NUL
Definition: ut_geo_const.h:45
#define _ColRGB_NUL
Definition: ut_geo_const.h:49
#define _UT3D_VECTOR_NUL
Definition: ut_geo_const.h:29
#define _MEMTAB_NUL
Definition: ut_memTab.h:40