BRL-CAD
defines.h File Reference
#include "common.h"
#include "bio.h"
#include "vmath.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.

Data Structures

struct  BrepTrimPoint
 

Macros

#define BREP_MAX_ITERATIONS   100
 
#define BREP_INTERSECTION_ROOT_EPSILON   1e-6
 
#define BREP_INTERSECTION_ROOT_SETTLE   1e-2
 
#define BREP_GRAZING_DOT_TOL   0.000017453
 
#define DO_VECTOR   1
 
#define BREP_MAX_FT_DEPTH   8
 
#define BREP_MAX_LN_DEPTH   20
 
#define SIGN(x)   ((x) >= 0 ? 1 : -1)
 
#define BREP_SURFACE_FLATNESS   0.85
 
#define BREP_SURFACE_STRAIGHTNESS   0.75
 
#define BREP_MAX_FCP_ITERATIONS   50
 
#define BREP_FCP_ROOT_EPSILON   1e-5
 
#define BREP_BB_CRV_PNT_CNT   10
 
#define BREP_CURVE_FLATNESS   0.95
 
#define BREP_SURF_SUB_FACTOR   1
 
#define BREP_TRIM_SUB_FACTOR   1
 
#define BREP_EDGE_MISS_TOLERANCE   5e-3
 
#define BREP_SAME_POINT_TOLERANCE   1e-6
 
#define BREP_UV_DIST_FUZZ   0.000001
 
#define ON_PRINT4(p)   "[" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ", " << (p)[3] << "]"
 
#define ON_PRINT3(p)   "(" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ")"
 
#define ON_PRINT2(p)   "(" << (p)[0] << ", " << (p)[1] << ")"
 
#define PT(p)   ON_PRINT3(p)
 
#define PT2(p)   ON_PRINT2(p)
 
#define IVAL(_ival)   "[" << (_ival).m_t[0] << ", " << (_ival).m_t[1] << "]"
 
#define TRACE(s)
 
#define TRACE1(s)
 
#define TRACE2(s)