BRL-CAD
#include "common.h"
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "bio.h"
#include "vmath.h"
#include "nmg.h"
#include "raytrace.h"
#include "plot3.h"
Include dependency graph for nmg_bool.c:

Go to the source code of this file.

Data Structures

struct  dangling_faceuse_state
 

Functions

size_t nmg_plot_open_edges (const uint32_t *magic_p, const char *prefix)
 
int nmg_has_dangling_faces (uint32_t *magic_p, const char *manifolds)
 
void nmg_show_each_loop (struct shell *s, char **classlist, int redraw, int fancy, const char *str)
 
void stash_shell (struct shell *s, char *file_name, char *title, const struct bn_tol *tol)
 
void nmg_kill_non_common_cracks (struct shell *sA, struct shell *sB)
 
void nmg_kill_anti_loops (struct shell *s)
 
void nmg_kill_wire_edges (struct shell *s)
 
struct nmgregion * nmg_do_bool (struct nmgregion *rA, struct nmgregion *rB, const int oper, const struct bn_tol *tol)
 
union treenmg_booltree_leaf_tess (struct db_tree_state *tsp, const struct db_full_path *pathp, struct rt_db_internal *ip, void *client_data)
 
union treenmg_booltree_leaf_tnurb (struct db_tree_state *tsp, const struct db_full_path *pathp, struct rt_db_internal *ip, void *client_data)
 
union treenmg_booltree_evaluate (register union tree *tp, const struct bn_tol *tol, struct resource *resp)
 
int nmg_boolean (union tree *tp, struct model *m, const struct bn_tol *tol, struct resource *resp)
 

Variables

int nmg_class_nothing_broken
 
int debug_file_count =0
 
int nmg_bool_eval_silent =0
 

Detailed Description

Support for boolean operations on NMG objects. Most of the routines in here are static/local to this file. The interfaces here are the functions "nmg_do_bool" and "nmg_mesh_faces". The former does boolean operations on a pair of shells. The latter is a function to make edges shared between two faces whenever possible.

Definition in file nmg_bool.c.