35# if defined(RT_DLL_EXPORTS) && defined(RT_DLL_IMPORTS)
36# error "Only RT_DLL_EXPORTS or RT_DLL_IMPORTS can be defined, not both."
37# elif defined(RT_DLL_EXPORTS)
38# define RT_EXPORT COMPILER_DLLEXPORT
39# elif defined(RT_DLL_IMPORTS)
40# define RT_EXPORT COMPILER_DLLIMPORT
52# define TIE_PRECISION 1
55#define TIE_CHECK_DEGENERATE 1
57#define TIE_KDTREE_FAST 0x0
58#define TIE_KDTREE_OPTIMAL 0x1
63# define TIE_VAL(x) CPP_GLUE(x, _single)
64#elif TIE_PRECISION == 1
66# define TIE_VAL(x) CPP_GLUE(x, _double)
68# error "Unknown precision"
73#define TCOPY(_t, _fv, _fi, _tv, _ti) { \
74 *(_t *)&((uint8_t *)_tv)[_ti] = *(_t *)&((uint8_t *)_fv)[_fi]; }
131#define TIE_INIT TIE_VAL(tie_init)
132#define TIE_FREE TIE_VAL(tie_free)
133#define TIE_PREP TIE_VAL(tie_prep)
134#define TIE_WORK TIE_VAL(tie_work)
135#define TIE_PUSH TIE_VAL(tie_push)
136#define TIE_KDTREE_PREP TIE_VAL(tie_kdtree_prep)
137#define TIE_KDTREE_FREE TIE_VAL(tie_kdtree_free)
139RT_EXPORT
extern void TIE_INIT(
struct tie_s *tie,
unsigned int tri_num,
unsigned int kdmethod);
143RT_EXPORT
extern void TIE_PUSH(
struct tie_s *tie,
TIE_3 **tlist,
unsigned int tnum,
void *plist,
unsigned int pstride);
Header file for the BRL-CAD common definitions.
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
struct tie_tri_s * tri_list
struct tie_kdtree_s * kdtree
unsigned int tri_num_alloc
fundamental vector, matrix, quaternion math macros