44#if defined(__GNUC__) && !defined(__clang__)
45# pragma GCC diagnostic push
48# pragma clang diagnostic push
50#if defined(__GNUC__) && !defined(__clang__)
52# pragma GCC diagnostic ignored "-Wclass-memaccess"
57#define ON_NO_WINDOWS 1
61#if defined(__GNUC__) && !defined(__clang__)
62# pragma GCC diagnostic pop
65# pragma clang diagnostic pop
79# if defined(BREP_DLL_EXPORTS) && defined(BREP_DLL_IMPORTS)
80# error "Only BREP_DLL_EXPORTS or BREP_DLL_IMPORTS can be defined, not both."
81# elif defined(BREP_DLL_EXPORTS)
82# define BREP_EXPORT COMPILER_DLLEXPORT
83# elif defined(BREP_DLL_IMPORTS)
84# define BREP_EXPORT COMPILER_DLLIMPORT
95typedef struct _on_brep_placeholder {
101#define BREP_MAX_ITERATIONS 100
104#define BREP_INTERSECTION_ROOT_EPSILON 1e-6
107#define BREP_INTERSECTION_ROOT_SETTLE 1e-2
112#define BREP_GRAZING_DOT_TOL 0.000017453
118#define BREP_MAX_FT_DEPTH 8
119#define BREP_MAX_LN_DEPTH 20
121#define SIGN(x) ((x) >= 0 ? 1 : -1)
124#define BREP_SURFACE_FLATNESS 0.85
125#define BREP_SURFACE_STRAIGHTNESS 0.75
128#define BREP_MAX_FCP_ITERATIONS 50
131#define BREP_FCP_ROOT_EPSILON 1e-5
136#define BREP_BB_CRV_PNT_CNT 10
138#define BREP_CURVE_FLATNESS 0.95
141#define BREP_SURF_SUB_FACTOR 1
142#define BREP_TRIM_SUB_FACTOR 1
153#define BREP_EDGE_MISS_TOLERANCE 5e-3
155#define BREP_SAME_POINT_TOLERANCE 1e-6
158#define BREP_UV_DIST_FUZZ 0.000001
161#define ON_PRINT4(p) "[" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ", " << (p)[3] << "]"
162#define ON_PRINT3(p) "(" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ")"
163#define ON_PRINT2(p) "(" << (p)[0] << ", " << (p)[1] << ")"
164#define PT(p) ON_PRINT3(p)
165#define PT2(p) ON_PRINT2(p)
166#define IVAL(_ival) "[" << (_ival).m_t[0] << ", " << (_ival).m_t[1] << "]"
Header file for the BRL-CAD common definitions.
BrepTrimPoint * other_face_trim_pnt
fundamental vector, matrix, quaternion math macros