#include <stdio.h>#include <stdlib.h>#include <math.h>#include <malloc.h>#include <string.h>#include <ctype.h>#include "pkvaria.h"#include "pknum.h"#include "pkgeom.h"#include "camerad.h"#include "multibs.h"#include "bsfile.h"
Defines | |
| #define | INBUFSIZE 1024 |
| #define | NAMEBUFSIZE (BSF_MAX_NAME_LENGTH+1) |
| #define | ADDTONBUF |
Functions | |
| void | bsf_GetNextSymbol (void) |
| void | bsf_CloseInputFile (void) |
| boolean | bsf_OpenInputFile (const char *filename) |
| void | bsf_PrintErrorLocation (void) |
Variables | |
| FILE * | bsf_input = NULL |
| char * | bsf_namebuffer = NULL |
| int | bsf_nextsymbol |
| int | bsf_nextint |
| double | bsf_nextfloat |
| const char * | bsf_keyword [BSF_NKEYWORDS] |
| #define ADDTONBUF |
{ if ( namebufcont < NAMEBUFSIZE-1 ) \
bsf_namebuffer[namebufcont++] = (char)nextchar; \
else { \
bsf_nextsymbol = BSF_SYMB_ERROR; \
return; \
}}
| #define INBUFSIZE 1024 |
| #define NAMEBUFSIZE (BSF_MAX_NAME_LENGTH+1) |
| void bsf_CloseInputFile | ( | void | ) |
| void bsf_GetNextSymbol | ( | void | ) |
| boolean bsf_OpenInputFile | ( | const char * | filename | ) |
| void bsf_PrintErrorLocation | ( | void | ) |
| FILE* bsf_input = NULL |
| const char* bsf_keyword[BSF_NKEYWORDS] |
{ "BCurve",
"BPatch",
"BSCurve",
"BSHole",
"BSMesh",
"BSPatch",
"closed",
"cpoints",
"cpointsmk",
"degree",
"dim",
"domain",
"facets",
"halfedges",
"knots",
"knots_u",
"knots_v",
"name",
"rational",
"sides",
"uniform",
"vertices" }
| char* bsf_namebuffer = NULL |
| double bsf_nextfloat |
| int bsf_nextint |
| int bsf_nextsymbol |
1.7.1