BRL-CAD
|
#include "common.h"
Go to the source code of this file.
Macros | |
#define | NMG_BOOL_SUB 1 |
subtraction More... | |
#define | NMG_BOOL_ADD 2 |
addition/union More... | |
#define | NMG_BOOL_ISECT 4 |
intersection More... | |
#define | NMG_CLASS_Unknown -1 |
#define | NMG_CLASS_AinB 0 |
#define | NMG_CLASS_AonBshared 1 |
#define | NMG_CLASS_AonBanti 2 |
#define | NMG_CLASS_AoutB 3 |
#define | NMG_CLASS_BinA 4 |
#define | NMG_CLASS_BonAshared 5 |
#define | NMG_CLASS_BonAanti 6 |
#define | NMG_CLASS_BoutA 7 |
#define | OT_NONE 0 |
no orientation (error) More... | |
#define | OT_SAME 1 |
orientation same More... | |
#define | OT_OPPOSITE 2 |
orientation opposite More... | |
#define | OT_UNSPEC 3 |
orientation unspecified More... | |
#define | OT_BOOLPLACE 4 |
object is intermediate data for boolean ops More... | |
#define | NMG_FPI_FIRST 0 |
return after finding first touch More... | |
#define | NMG_FPI_PERGEOM 1 |
find all touches, call user funcs once for each geometry element touched. More... | |
#define | NMG_FPI_PERUSE 2 |
find all touches, call user funcs once for each use of geom elements touched. More... | |
#define | NMG_GETSTRUCT(p, str) p = (struct str *)bu_calloc(1, sizeof(struct str), "NMG_GETSTRUCT") |
#define | NMG_FREESTRUCT(p, str) bu_free(p, "NMG_FREESTRUCT") |
#define | NMG_ALLOC(_ptr, _type) _ptr = (_type *)bu_calloc(1, sizeof(_type), #_type " (NMG_ALLOC) " CPP_FILELINE) |
#define | NMG_CKMAG(_ptr, _magic, _str) BU_CKMAG(_ptr, _magic, _str) |
#define | NMG_CK2MAG(_ptr, _magic1, _magic2, _str) |
#define | NMG_CK_LIST(_p) BU_CKMAG(_p, BU_LIST_HEAD_MAGIC, "bu_list") |
#define | NMG_CK_RADIAL(_p) NMG_CKMAG(_p, NMG_RADIAL_MAGIC, "nmg_radial") |
#define | NMG_CK_INTER_STRUCT(_p) NMG_CKMAG(_p, NMG_INTER_STRUCT_MAGIC, "nmg_inter_struct") |
#define | NMG_INCR_INDEX(_p, _m) NMG_CK_MODEL(_m); (_p)->index = ((_m)->maxindex)++ |