gCAD3D 2.35
stl_r.c File Reference

read STL file More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_cast.h"
#include "../ut/ut_txt.h"
#include "../ut/func_types.h"

Data Structures

struct  Tessdat
 
struct  stlRecBin
 

Macros

#define GL_TRIANGLES   0x0004
 
#define GL_TRIANGLE_FAN   0x0006
 
#define impSpc_INC   250000
 

Functions

int gCad_main (void *fdat)
 
int stl_read__ (Memspc *wrkSpc, char *fNam)
 
int stl_read_bin (Memspc *wrkSpc, char *fNam)
 
int stl_r_init (Memspc *wrkSpc, int fSiz)
 
int stl_r_addTri (Point *pta)
 
int stl_r_close ()
 

Variables

static Tessdat impDat
 

Detailed Description

read STL file

=====================================================
List_functions_start:
List_functions_end:
=====================================================

Macro Definition Documentation

#define GL_TRIANGLES   0x0004
#define GL_TRIANGLE_FAN   0x0006
#define impSpc_INC   250000

Function Documentation

int gCad_main ( void *  fdat)
int stl_read__ ( Memspc wrkSpc,
char *  fNam 
)
int stl_read_bin ( Memspc wrkSpc,
char *  fNam 
)
int stl_r_init ( Memspc wrkSpc,
int  fSiz 
)
int stl_r_addTri ( Point pta)
int stl_r_close ( )

Variable Documentation

Tessdat impDat
static