38#define NMG_CK_REGION(_p) NMG_CKMAG(_p, NMG_REGION_MAGIC, "region")
39#define NMG_CK_REGION_A(_p) NMG_CKMAG(_p, NMG_REGION_A_MAGIC, "region_a")
41#define GET_REGION(p, m) {NMG_GETSTRUCT(p, nmgregion); NMG_INCR_INDEX(p, m);}
42#define GET_REGION_A(p, m) {NMG_GETSTRUCT(p, nmgregion_a); NMG_INCR_INDEX(p, m);}
44#define FREE_REGION(p) NMG_FREESTRUCT(p, nmgregion)
45#define FREE_REGION_A(p) NMG_FREESTRUCT(p, nmgregion_a)
69 const int oper,
struct bu_list *vlfree,
const struct bn_tol *tol);
Header file for the BRL-CAD common definitions.
int nmg_unbreak_region_edges(uint32_t *magic_p, struct bu_list *vlfree)
void nmg_region_v_unique(struct nmgregion *r1, struct bu_list *vlfree, const struct bn_tol *tol)
int nmg_two_region_vertex_fuse(struct nmgregion *r1, struct nmgregion *r2, const struct bn_tol *tol)
struct nmgregion * nmg_do_bool(struct nmgregion *s1, struct nmgregion *s2, const int oper, struct bu_list *vlfree, const struct bn_tol *tol)
struct nmgregion * nmg_mrsv(struct model *m)
int nmg_kr(struct nmgregion *r)
void nmg_region_a(struct nmgregion *r, const struct bn_tol *tol)
struct shell * nmg_msv(struct nmgregion *r_p)
fastf_t nmg_region_area(const struct nmgregion *r)
void nmg_merge_regions(struct nmgregion *r1, struct nmgregion *r2, const struct bn_tol *tol)
int nmg_region_both_vfuse(struct bu_ptbl *t1, struct bu_ptbl *t2, const struct bn_tol *tol)
double fastf_t
fastest 64-bit (or larger) floating point type
struct nmgregion * r_p
owning region
fundamental vector, matrix, quaternion math macros