BRL-CAD
wdb_importFg4Section.c File Reference
#include "common.h"
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "bu/debug.h"
#include "db.h"
#include "vmath.h"
#include "nmg.h"
#include "rtgeom.h"
#include "raytrace.h"
#include "ged.h"
#include "wdb.h"
#include "plot3.h"
Include dependency graph for wdb_importFg4Section.c:

Go to the source code of this file.

Macros

#define PLATE_MODE   1
 
#define VOLUME_MODE   2
 
#define POS_CENTER   1 /* face positions for facets */
 
#define POS_FRONT   2
 
#define END_OPEN   1 /* End closure codes for cones */
 
#define END_CLOSED   2
 
#define GRID_BLOCK   256 /* allocate space for grid points in blocks of 256 points */
 
#define CLINE   'l'
 
#define CHEX1   'p'
 
#define CHEX2   'b'
 
#define CTRI   't'
 
#define CQUAD   'q'
 
#define CCONE1   'c'
 
#define CCONE2   'd'
 
#define CCONE3   'e'
 
#define CSPHERE   's'
 
#define NMG   'n'
 
#define BOT   't'
 
#define COMPSPLT   'h'
 
#define FIND_NEWLINE(_cp, _eosFlag)
 

Functions

void do_grid (char *line)
 
void Add_bot_face (int pt1, int pt2, int pt3, fastf_t thick, int pos)
 
void do_tri (char *line)
 
void do_quad (const char *line)
 
void make_bot_object (const char *name, struct rt_wdb *wdbp)
 
int wdb_importFg4Section_cmd (void *data, int argc, const char *argv[])