BRL-CAD
region.h File Reference
#include "common.h"
#include "vmath.h"
#include "bu/list.h"
#include "nmg/defines.h"
#include "nmg/topology.h"
Include dependency graph for region.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NMG_CK_REGION(_p)   NMG_CKMAG(_p, NMG_REGION_MAGIC, "region")
 
#define NMG_CK_REGION_A(_p)   NMG_CKMAG(_p, NMG_REGION_A_MAGIC, "region_a")
 
#define GET_REGION(p, m)   {NMG_GETSTRUCT(p, nmgregion); NMG_INCR_INDEX(p, m);}
 
#define GET_REGION_A(p, m)   {NMG_GETSTRUCT(p, nmgregion_a); NMG_INCR_INDEX(p, m);}
 
#define FREE_REGION(p)   NMG_FREESTRUCT(p, nmgregion)
 
#define FREE_REGION_A(p)   NMG_FREESTRUCT(p, nmgregion_a)
 

Functions

void nmg_region_a (struct nmgregion *r, const struct bn_tol *tol)
 
void nmg_merge_regions (struct nmgregion *r1, struct nmgregion *r2, const struct bn_tol *tol)
 
struct nmgregionnmg_mrsv (struct model *m)
 
struct shellnmg_msv (struct nmgregion *r_p)
 
int nmg_kr (struct nmgregion *r)
 
fastf_t nmg_region_area (const struct nmgregion *r)
 
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_region_both_vfuse (struct bu_ptbl *t1, struct bu_ptbl *t2, const struct bn_tol *tol)
 
struct nmgregionnmg_do_bool (struct nmgregion *s1, struct nmgregion *s2, const int oper, 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)