JunkBox_Lib 1.10.1
|
SHAPE FILE TOOL. More...
Go to the source code of this file.
Functions | |
ShapeIndex * | read_shape_index_file (FILE *fp) |
BSGraph * | read_shape_main_file (ShapeIndex *idx, BSGraph *mp, vector og, vector dd, FILE *fp) |
void | draw_shape_polygon (ShapeIndex *idx, BSGraph *mp, vector og, vector dd, int cc, FILE *fp) |
Definition in file shape_file.c.
void draw_shape_polygon | ( | ShapeIndex * | idx, |
BSGraph * | mp, | ||
vector | og, | ||
vector | dd, | ||
int | cc, | ||
FILE * | fp ) |
Definition at line 138 of file shape_file.c.
References bline3d(), double_from_little_endian(), int_from_little_endian(), ShapeIndex::maxnum, ShapeIndex::offset, SHAPE_TYPE_POLYGON, UNUSED, vector::x, vector::y, vector::z, and BSGraph::zs.
Referenced by read_shape_main_file().
ShapeIndex * read_shape_index_file | ( | FILE * | fp | ) |
Definition at line 11 of file shape_file.c.
References ShapeIndex::datanum, DEBUG_MODE, int_from_big_endian(), int_from_little_endian(), ShapeIndex::maxnum, ShapeIndex::offset, PRINT_MESG, ShapeIndex::size, ShapeIndex::type, and UNUSED.
BSGraph * read_shape_main_file | ( | ShapeIndex * | idx, |
BSGraph * | mp, | ||
vector | og, | ||
vector | dd, | ||
FILE * | fp ) |
Definition at line 62 of file shape_file.c.
References DEBUG_MODE, double_from_little_endian(), draw_shape_polygon(), BSGraph::gp, int_from_big_endian(), int_from_little_endian(), JBXL_NORMAL, make_BSGraph(), PRINT_MESG, set_vector(), SHAPE_TYPE_POLYGON, BSGraph::state, ShapeIndex::type, UNUSED, vector::x, vector::y, and vector::z.