BRL-CAD
Loading...
Searching...
No Matches
#include "common.h"
#include "bg/defines.h"
Include dependency graph for defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BRLCAD_DB_FORMAT_LATEST   5
 
#define ID_NULL   0
 Unused.
 
#define ID_TOR   1
 Toroid.
 
#define ID_TGC   2
 Generalized Truncated General Cone.
 
#define ID_ELL   3
 Ellipsoid.
 
#define ID_ARB8   4
 Generalized ARB. V + 7 vectors.
 
#define ID_ARS   5
 ARS.
 
#define ID_HALF   6
 Half-space.
 
#define ID_REC   7
 Right Elliptical Cylinder [TGC special].
 
#define ID_POLY   8
 Polygonal faceted object.
 
#define ID_BSPLINE   9
 B-spline object.
 
#define ID_SPH   10
 Sphere.
 
#define ID_NMG   11
 n-Manifold Geometry solid
 
#define ID_EBM   12
 Extruded bitmap solid.
 
#define ID_VOL   13
 3-D Volume
 
#define ID_ARBN   14
 ARB with N faces.
 
#define ID_PIPE   15
 Pipe (wire) solid.
 
#define ID_PARTICLE   16
 Particle system solid.
 
#define ID_RPC   17
 Right Parabolic Cylinder

 
#define ID_RHC   18
 Right Hyperbolic Cylinder

 
#define ID_EPA   19
 Elliptical Paraboloid

 
#define ID_EHY   20
 Elliptical Hyperboloid

 
#define ID_ETO   21
 Elliptical Torus

 
#define ID_GRIP   22
 Pseudo Solid Grip.
 
#define ID_JOINT   23
 Pseudo Solid/Region Joint.
 
#define ID_HF   24
 Height Field.
 
#define ID_DSP   25
 Displacement map.
 
#define ID_SKETCH   26
 2D sketch
 
#define ID_EXTRUDE   27
 Solid of extrusion.
 
#define ID_SUBMODEL   28
 Instanced submodel.
 
#define ID_CLINE   29
 FASTGEN4 CLINE solid.
 
#define ID_BOT   30
 Bag o' triangles.
 
#define ID_MAX_SOLID   47
 Maximum defined ID_xxx for solids.
 
#define ID_COMBINATION   31
 Combination Record.
 
#define ID_UNUSED1   32
 UNUSED (placeholder)

 
#define ID_BINUNIF   33
 Uniform-array binary.
 
#define ID_UNUSED2   34
 UNUSED (placeholder)
 
#define ID_CONSTRAINT   39
 Constraint object.
 
#define ID_MATERIAL   46
 Material object.
 
#define ID_SUPERELL   35
 Superquadratic ellipsoid.
 
#define ID_METABALL   36
 Metaball.
 
#define ID_BREP   37
 B-rep object.
 
#define ID_HYP   38
 Hyperboloid of one sheet.
 
#define ID_REVOLVE   40
 Solid of Revolution.
 
#define ID_PNTS   41
 Collection of Points.
 
#define ID_ANNOT   42
 Annotation.
 
#define ID_HRT   43
 Heart.
 
#define ID_DATUM   44
 Datum references.
 
#define ID_SCRIPT   45
 Script.
 
#define ID_MAXIMUM   47
 Maximum defined ID_xxx value.
 
#define DB_INH_LOWER   0 /* Lower nodes override */
 
#define DB_INH_HIGHER   1 /* Higher nodes override */
 
#define RT_DBNHASH   8192
 hash table is an array of linked lists with this many array pointer elements (Memory use for 32-bit: 32KB, 64-bit: 64KB)
 
#define RT_DBHASH(sum)   ((size_t)(sum) & ((RT_DBNHASH)-1))
 
#define BACKING_DIST   (-2.0)
 mm to look behind start point
 
#define OFFSET_DIST   0.01
 mm to advance point into box
 
#define RT_BADNUM(n)   (!((n) >= -INFINITY && (n) <= INFINITY))
 
#define RT_BADVEC(v)   (RT_BADNUM((v)[X]) || RT_BADNUM((v)[Y]) || RT_BADNUM((v)[Z]))
 
#define RT_MAXLINE   10240
 
#define RT_PART_NUBSPT   0