BRL-CAD
model.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 model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NMG_CK_MODEL(_p)   NMG_CKMAG(_p, NMG_MODEL_MAGIC, "model")
 
#define GET_MODEL(p, m)   {NMG_GETSTRUCT(p, model); NMG_INCR_INDEX(p, m);}
 
#define FREE_MODEL(p)   NMG_FREESTRUCT(p, model)
 

Functions

struct modelnmg_mm (void)
 
struct modelnmg_mmr (void)
 
struct nmgregionnmg_mrsv (struct model *m)
 
void nmg_km (struct model *m)
 
void nmg_count_shell_kids (const struct model *m, size_t *total_wires, size_t *total_faces, size_t *total_points)
 
struct modelnmg_find_model (const uint32_t *magic_p)
 
void nmg_model_bb (point_t min_pt, point_t max_pt, const struct model *m)
 
struct vertexnmg_find_pnt_in_model (const struct model *m, const point_t pt, const struct bn_tol *tol)
 
void nmg_find_zero_length_edges (const struct model *m, struct bu_list *vlfree)
 
fastf_t nmg_model_area (const struct model *m)
 
void nmg_rebound (struct model *m, const struct bn_tol *tol)
 
struct modelnmg_mk_model_from_region (struct nmgregion *r, int reindex, struct bu_list *vlfree)
 
void nmg_mirror_model (struct model *m, struct bu_list *vlfree)
 
int nmg_kill_zero_length_edgeuses (struct model *m)
 
int nmg_edge_collapse (struct model *m, const struct bn_tol *tol, const fastf_t tol_coll, const fastf_t min_angle, struct bu_list *vlfree)
 
struct modelnmg_clone_model (const struct model *original)
 
void nmg_triangulate_model (struct model *m, struct bu_list *vlfree, const struct bn_tol *tol)
 
void nmg_dump_model (struct model *m)
 
char * nmg_manifolds (struct model *m)
 
int nmg_model_face_fuse (struct model *m, struct bu_list *vlfree, const struct bn_tol *tol)
 
int nmg_model_break_e_on_v (const uint32_t *magic_p, struct bu_list *vlfree, const struct bn_tol *tol)
 
int nmg_model_fuse (struct model *m, struct bu_list *vlfree, const struct bn_tol *tol)
 
void nmg_m_set_high_bit (struct model *m)
 
void nmg_m_reindex (struct model *m, long newindex)
 
void nmg_merge_models (struct model *m1, struct model *m2)
 
long nmg_find_max_index (const struct model *m)
 
const char * nmg_class_name (int class_no)