N-Manifold Geometry
[Primitives]

Collaboration diagram for N-Manifold Geometry:


Files

file  nmg.h
 Definition of data structures for "Non-Manifold Geometry Modelling." Developed from "Non-Manifold Geometric Boundary Modeling" by Kevin Weiler, 5/7/87 (SIGGraph 1989 Course #20 Notes).
file  nmg_ck.c
file  nmg_class.c
file  nmg_eval.c
file  nmg_extrude.c
file  nmg_fcut.c
file  nmg_fuse.c
file  nmg_index.c
file  nmg_info.c
file  nmg_inter.c
file  nmg_junk.c
file  nmg_manif.c
file  nmg_mesh.c
file  nmg_misc.c
file  nmg_mk.c
file  nmg_mod.c
file  nmg_plot.c
file  nmg_pr.c
file  nmg_pt_fu.c
file  nmg_rt_isect.c
file  nmg_rt_segs.c
file  nmg_tri.c
file  nmg_visit.c

Data Structures

struct  knot_vector
 Definition of a knot vector. More...
struct  model
struct  nmgregion
struct  nmgregion_a
struct  shell
struct  shell_a
struct  face
struct  face_g_plane
struct  face_g_snurb
struct  faceuse
struct  loop
struct  loop_g
struct  loopuse
struct  edge
struct  edge_g_lseg
struct  edge_g_cnurb
struct  edgeuse
struct  vertex
struct  vertex_g
struct  vertexuse
struct  vertexuse_a_plane
struct  vertexuse_a_cnurb
struct  nmg_boolstruct
struct  nmg_struct_counts
struct  nmg_visit_handlers

Defines

#define NMG_H   seen
#define NMG_EXTERN(type_and_name, args)   RT_EXTERN(type_and_name,args)
#define DEBUG_PL_ANIM   0x00000001
 1 mged: animated evaluation
#define DEBUG_PL_SLOW   0x00000002
 2 mged: add delays to animation
#define DEBUG_GRAPHCL   0x00000004
 3 mged: graphic classification
#define DEBUG_PL_LOOP   0x00000008
 4 loop class (needs GRAPHCL)
#define DEBUG_PLOTEM   0x00000010
 5 make plots in debugged routines (needs other flags set too)
#define DEBUG_POLYSECT   0x00000020
 6 nmg_inter: face intersection
#define DEBUG_VERIFY   0x00000040
 7 nmg_vshell() frequently, verify health
#define DEBUG_BOOL   0x00000080
 8 nmg_bool:
#define DEBUG_CLASSIFY   0x00000100
 9 nmg_class:
#define DEBUG_BOOLEVAL   0x00000200
 10 nmg_eval: what to retain
#define DEBUG_BASIC   0x00000400
 013 nmg_mk.c and nmg_mod.c routines
#define DEBUG_MESH   0x00000800
 12 nmg_mesh: describe edge search
#define DEBUG_MESH_EU   0x00001000
 13 nmg_mesh: list edges meshed
#define DEBUG_POLYTO   0x00002000
 14 nmg_misc: polytonmg
#define DEBUG_LABEL_PTS   0x00004000
 15 label points in plot files
#define DEBUG_NMGRT   0x00010000
 17 ray tracing
#define DEBUG_FINDEU   0x00020000
 18 nmg_mod: nmg_findeu()
#define DEBUG_CMFACE   0x00040000
 19 nmg_mod: nmg_cmface()
#define DEBUG_CUTLOOP   0x00080000
 024 nmg_mod: nmg_cut_loop
#define DEBUG_VU_SORT   0x00100000
 025 nmg_fcut: coincident vu sort
#define DEBUG_FCUT   0x00200000
 026 nmg_fcut: face cutter
#define DEBUG_RT_SEGS   0x00400000
 027 nmg_rt_segs:
#define DEBUG_RT_ISECT   0x00800000
 028 nmg_rt_isect:
#define DEBUG_TRI   0x01000000
 029 nmg_tri
#define DEBUG_PT_FU   0x02000000
 029 nmg_pt_fu
#define DEBUG_MANIF   0x04000000
 029 nmg_manif
#define NMG_DEBUG_FORMAT   "\020\033MANIF\032PTFU\031TRIANG\030RT_ISECT\\027RT_SEGS\026FCUT\025VU_SORT\024CUTLOOP\023CMFACE\022FINDEU\021RT_ISECT\020(FREE)\\017LABEL_PTS\016POLYTO\015MESH_EU\014MESH\013BASIC\012BOOLEVAL\011CLASSIFY\\010BOOL\7VERIFY\6POLYSECT\5PLOTEM\4PL_LOOP\3GRAPHCL\2PL_SLOW\1PL_ANIM"
#define NMG_ARGS(args)   ()
#define NMG_BOOL_SUB   1
 subtraction
#define NMG_BOOL_ADD   2
 addition/union
#define NMG_BOOL_ISECT   4
 intsersection
#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)
#define OT_SAME   1
 orientation same
#define OT_OPPOSITE   2
 orientation opposite
#define OT_UNSPEC   3
 orientation unspecified
#define OT_BOOLPLACE   4
 object is intermediate data for boolean ops
#define NMG_MODEL_MAGIC   0x12121212
#define NMG_REGION_MAGIC   0x23232323
#define NMG_REGION_A_MAGIC   0x696e6720
#define NMG_SHELL_MAGIC   0x71077345
 shell oil
#define NMG_SHELL_A_MAGIC   0x65207761
#define NMG_FACE_MAGIC   0x45454545
#define NMG_FACE_G_PLANE_MAGIC   0x726b6e65
#define NMG_FACE_G_SNURB_MAGIC   0x736e7262
 was RT_SNURB_MAGIC
#define NMG_FACEUSE_MAGIC   0x56565656
#define NMG_LOOP_MAGIC   0x67676767
#define NMG_LOOP_G_MAGIC   0x6420224c
#define NMG_LOOPUSE_MAGIC   0x78787878
#define NMG_EDGE_MAGIC   0x33333333
#define NMG_EDGE_G_LSEG_MAGIC   0x6c696768
#define NMG_EDGE_G_CNURB_MAGIC   0x636e7262
 was RT_CNURB_MAGIC
#define NMG_EDGEUSE_MAGIC   0x90909090
#define NMG_EDGEUSE2_MAGIC   0x91919191
 used in eu->l2.magic
#define NMG_VERTEX_MAGIC   0x00123123
#define NMG_VERTEX_G_MAGIC   0x72737707
#define NMG_VERTEXUSE_MAGIC   0x12341234
#define NMG_VERTEXUSE_A_PLANE_MAGIC   0x69676874
#define NMG_VERTEXUSE_A_CNURB_MAGIC   0x20416e64
#define NMG_KNOT_VECTOR_MAGIC   0x6b6e6f74
 aka RT_KNOT_VECTOR_MAGIC
#define NMG_CKMAG(_ptr, _magic, _str)   BU_CKMAG(_ptr,_magic,_str)
#define NMG_CK2MAG(_ptr, _magic1, _magic2, _str)
#define NMG_CK_MODEL(_p)   NMG_CKMAG(_p, NMG_MODEL_MAGIC, "model")
#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 NMG_CK_SHELL(_p)   NMG_CKMAG(_p, NMG_SHELL_MAGIC, "shell")
#define NMG_CK_SHELL_A(_p)   NMG_CKMAG(_p, NMG_SHELL_A_MAGIC, "shell_a")
#define NMG_CK_FACE(_p)   NMG_CKMAG(_p, NMG_FACE_MAGIC, "face")
#define NMG_CK_FACE_G_PLANE(_p)   NMG_CKMAG(_p, NMG_FACE_G_PLANE_MAGIC, "face_g_plane")
#define NMG_CK_FACE_G_SNURB(_p)   NMG_CKMAG(_p, NMG_FACE_G_SNURB_MAGIC, "face_g_snurb")
#define NMG_CK_FACE_G_EITHER(_p)   NMG_CK2MAG(_p, NMG_FACE_G_PLANE_MAGIC, NMG_FACE_G_SNURB_MAGIC, "face_g_plane|face_g_snurb")
#define NMG_CK_FACEUSE(_p)   NMG_CKMAG(_p, NMG_FACEUSE_MAGIC, "faceuse")
#define NMG_CK_LOOP(_p)   NMG_CKMAG(_p, NMG_LOOP_MAGIC, "loop")
#define NMG_CK_LOOP_G(_p)   NMG_CKMAG(_p, NMG_LOOP_G_MAGIC, "loop_g")
#define NMG_CK_LOOPUSE(_p)   NMG_CKMAG(_p, NMG_LOOPUSE_MAGIC, "loopuse")
#define NMG_CK_EDGE(_p)   NMG_CKMAG(_p, NMG_EDGE_MAGIC, "edge")
#define NMG_CK_EDGE_G_LSEG(_p)   NMG_CKMAG(_p, NMG_EDGE_G_LSEG_MAGIC, "edge_g_lseg")
#define NMG_CK_EDGE_G_CNURB(_p)   NMG_CKMAG(_p, NMG_EDGE_G_CNURB_MAGIC, "edge_g_cnurb")
#define NMG_CK_EDGE_G_EITHER(_p)   NMG_CK2MAG(_p, NMG_EDGE_G_LSEG_MAGIC, NMG_EDGE_G_CNURB_MAGIC, "edge_g_lseg|edge_g_cnurb")
#define NMG_CK_EDGEUSE(_p)   NMG_CKMAG(_p, NMG_EDGEUSE_MAGIC, "edgeuse")
#define NMG_CK_VERTEX(_p)   NMG_CKMAG(_p, NMG_VERTEX_MAGIC, "vertex")
#define NMG_CK_VERTEX_G(_p)   NMG_CKMAG(_p, NMG_VERTEX_G_MAGIC, "vertex_g")
#define NMG_CK_VERTEXUSE(_p)   NMG_CKMAG(_p, NMG_VERTEXUSE_MAGIC, "vertexuse")
#define NMG_CK_VERTEXUSE_A_PLANE(_p)   NMG_CKMAG(_p, NMG_VERTEXUSE_A_PLANE_MAGIC, "vertexuse_a_plane")
#define NMG_CK_VERTEXUSE_A_CNURB(_p)   NMG_CKMAG(_p, NMG_VERTEXUSE_A_CNURB_MAGIC, "vertexuse_a_cnurb")
#define NMG_CK_VERTEXUSE_A_EITHER(_p)   NMG_CK2MAG(_p, NMG_VERTEXUSE_A_PLANE_MAGIC, NMG_VERTEXUSE_A_CNURB_MAGIC, "vertexuse_a_plane|vertexuse_a_cnurb")
#define NMG_CK_LIST(_p)   BU_CKMAG(_p, BU_LIST_HEAD_MAGIC, "bu_list")
#define NMG_TEST_EDGEUSE(_p)
#define RT_KNOT_VECTOR_MAGIC   NMG_KNOT_VECTOR_MAGIC
 nurb.h compat
#define NMG_GET_FU_NORMAL(_N, _fu)
#define NMG_GET_FU_PLANE(_N, _fu)
#define RT_LIST_SET_DOWN_TO_VERT(_hp, _vu)
#define NMG_GETSTRUCT(p, str)   BU_GETSTRUCT(p,str)
#define NMG_FREESTRUCT(ptr, str)
#define NMG_INCR_INDEX(_p, _m)   NMG_CK_MODEL(_m); (_p)->index = ((_m)->maxindex)++
#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 GET_SHELL(p, m)   {NMG_GETSTRUCT(p, shell); NMG_INCR_INDEX(p,m);}
#define GET_SHELL_A(p, m)   {NMG_GETSTRUCT(p, shell_a); NMG_INCR_INDEX(p,m);}
#define GET_FACE(p, m)   {NMG_GETSTRUCT(p, face); NMG_INCR_INDEX(p,m);}
#define GET_FACE_G_PLANE(p, m)   {NMG_GETSTRUCT(p, face_g_plane); NMG_INCR_INDEX(p,m);}
#define GET_FACE_G_SNURB(p, m)   {NMG_GETSTRUCT(p, face_g_snurb); NMG_INCR_INDEX(p,m);}
#define GET_FACEUSE(p, m)   {NMG_GETSTRUCT(p, faceuse); NMG_INCR_INDEX(p,m);}
#define GET_LOOP(p, m)   {NMG_GETSTRUCT(p, loop); NMG_INCR_INDEX(p,m);}
#define GET_LOOP_G(p, m)   {NMG_GETSTRUCT(p, loop_g); NMG_INCR_INDEX(p,m);}
#define GET_LOOPUSE(p, m)   {NMG_GETSTRUCT(p, loopuse); NMG_INCR_INDEX(p,m);}
#define GET_EDGE(p, m)   {NMG_GETSTRUCT(p, edge); NMG_INCR_INDEX(p,m);}
#define GET_EDGE_G_LSEG(p, m)   {NMG_GETSTRUCT(p, edge_g_lseg); NMG_INCR_INDEX(p,m);}
#define GET_EDGE_G_CNURB(p, m)   {NMG_GETSTRUCT(p, edge_g_cnurb); NMG_INCR_INDEX(p,m);}
#define GET_EDGEUSE(p, m)   {NMG_GETSTRUCT(p, edgeuse); NMG_INCR_INDEX(p,m);}
#define GET_VERTEX(p, m)   {NMG_GETSTRUCT(p, vertex); NMG_INCR_INDEX(p,m);}
#define GET_VERTEX_G(p, m)   {NMG_GETSTRUCT(p, vertex_g); NMG_INCR_INDEX(p,m);}
#define GET_VERTEXUSE(p, m)   {NMG_GETSTRUCT(p, vertexuse); NMG_INCR_INDEX(p,m);}
#define GET_VERTEXUSE_A_PLANE(p, m)   {NMG_GETSTRUCT(p, vertexuse_a_plane); NMG_INCR_INDEX(p,m);}
#define GET_VERTEXUSE_A_CNURB(p, m)   {NMG_GETSTRUCT(p, vertexuse_a_cnurb); NMG_INCR_INDEX(p,m);}
#define FREE_MODEL(p)   NMG_FREESTRUCT(p, model)
#define FREE_REGION(p)   NMG_FREESTRUCT(p, nmgregion)
#define FREE_REGION_A(p)   NMG_FREESTRUCT(p, nmgregion_a)
#define FREE_SHELL(p)   NMG_FREESTRUCT(p, shell)
#define FREE_SHELL_A(p)   NMG_FREESTRUCT(p, shell_a)
#define FREE_FACE(p)   NMG_FREESTRUCT(p, face)
#define FREE_FACE_G_PLANE(p)   NMG_FREESTRUCT(p, face_g_plane)
#define FREE_FACE_G_SNURB(p)   NMG_FREESTRUCT(p, face_g_snurb)
#define FREE_FACEUSE(p)   NMG_FREESTRUCT(p, faceuse)
#define FREE_LOOP(p)   NMG_FREESTRUCT(p, loop)
#define FREE_LOOP_G(p)   NMG_FREESTRUCT(p, loop_g)
#define FREE_LOOPUSE(p)   NMG_FREESTRUCT(p, loopuse)
#define FREE_LOOPUSE_A(p)   NMG_FREESTRUCT(p, loopuse_a)
#define FREE_EDGE(p)   NMG_FREESTRUCT(p, edge)
#define FREE_EDGE_G_LSEG(p)   NMG_FREESTRUCT(p, edge_g_lseg)
#define FREE_EDGE_G_CNURB(p)   NMG_FREESTRUCT(p, edge_g_cnurb)
#define FREE_EDGEUSE(p)   NMG_FREESTRUCT(p, edgeuse)
#define FREE_VERTEX(p)   NMG_FREESTRUCT(p, vertex)
#define FREE_VERTEX_G(p)   NMG_FREESTRUCT(p, vertex_g)
#define FREE_VERTEXUSE(p)   NMG_FREESTRUCT(p, vertexuse)
#define FREE_VERTEXUSE_A_PLANE(p)   NMG_FREESTRUCT(p, vertexuse_a_plane)
#define FREE_VERTEXUSE_A_CNURB(p)   NMG_FREESTRUCT(p, vertexuse_a_cnurb)
#define NMG_ARE_EUS_ADJACENT(_eu1, _eu2)
#define EDGESADJ(_e1, _e2)   NMG_ARE_EUS_ADJACENT(_e1,_e2)
#define PLPRINT(_s, _pl)
#define NMG_FPI_FIRST   0
 return after finding first touch
#define NMG_FPI_PERGEOM   1
 find all touches, call user funcs once for each geometry element touched
#define NMG_FPI_PERUSE   2
 find all touches, call user funcs once for each use of geom elements touched
#define PREEXIST   1
#define NEWEXIST   2
#define VU_PREEXISTS(_bs, _vu)
#define VU_NEW(_bs, _vu)
#define NMG_INDEX_VALUE(_tab, _index)   ((_tab)[_index])
#define NMG_INDEX_TEST(_tab, _p)   ( (_tab)[(_p)->index] )
#define NMG_INDEX_SET(_tab, _p)   {(_tab)[(_p)->index] = 1;}
#define NMG_INDEX_CLEAR(_tab, _p)   {(_tab)[(_p)->index] = 0;}
#define NMG_INDEX_TEST_AND_SET(_tab, _p)   ( (_tab)[(_p)->index] == 0 ? ((_tab)[(_p)->index] = 1) : 0 )
#define NMG_INDEX_IS_SET(_tab, _p)   NMG_INDEX_TEST(_tab,_p)
#define NMG_INDEX_FIRST_TIME(_tab, _p)   NMG_INDEX_TEST_AND_SET(_tab,_p)
#define NMG_INDEX_ASSIGN(_tab, _p, _val)   {(_tab)[(_p)->index] = _val;}
#define NMG_INDEX_GET(_tab, _p)   ((_tab)[(_p)->index])
#define NMG_INDEX_GETP(_ty, _tab, _p)   ((struct _ty *)((_tab)[(_p)->index]))
#define NMG_INDEX_OR(_tab, _p, _val)   {(_tab)[(_p)->index] |= _val;}
#define NMG_INDEX_AND(_tab, _p, _val)   {(_tab)[(_p)->index] &= _val;}
#define NMG_INDEX_RETURN_IF_SET_ELSE_SET(_tab, _index)
#define NMG_3MANIFOLD   16
#define NMG_2MANIFOLD   4
#define NMG_1MANIFOLD   2
#define NMG_0MANIFOLD   1
#define NMG_SET_MANIFOLD(_t, _p, _v)   NMG_INDEX_OR(_t, _p, _v)
#define NMG_MANIFOLDS(_t, _p)   NMG_INDEX_VALUE(_t, (_p)->index)
#define NMG_CP_MANIFOLD(_t, _p, _q)   (_t)[(_p)->index] = (_t)[(_q)->index]
#define NMG_VLIST_STYLE_VECTOR   0
#define NMG_VLIST_STYLE_POLYGON   1
#define NMG_VLIST_STYLE_VISUALIZE_NORMALS   2
#define NMG_VLIST_STYLE_USE_VU_NORMALS   4
#define NMG_VLIST_STYLE_NO_SURFACES   8

Define Documentation

#define NMG_H   seen
 

Definition at line 55 of file nmg.h.

#define NMG_EXTERN type_and_name,
args   )     RT_EXTERN(type_and_name,args)
 

Definition at line 85 of file nmg.h.

#define DEBUG_PL_ANIM   0x00000001
 

1 mged: animated evaluation

Definition at line 88 of file nmg.h.

Referenced by nmg_2face_plot(), nmg_face_plot(), nmg_kill_snakes(), nmg_pl_2fu(), nmg_pl_comb_fu(), and nmg_simplify_loop().

#define DEBUG_PL_SLOW   0x00000002
 

2 mged: add delays to animation

Definition at line 89 of file nmg.h.

Referenced by nmg_2face_plot(), nmg_face_plot(), nmg_pl_2fu(), and nmg_pl_comb_fu().

#define DEBUG_GRAPHCL   0x00000004
 

3 mged: graphic classification

Definition at line 90 of file nmg.h.

#define DEBUG_PL_LOOP   0x00000008
 

4 loop class (needs GRAPHCL)

Definition at line 91 of file nmg.h.

#define DEBUG_PLOTEM   0x00000010
 

5 make plots in debugged routines (needs other flags set too)

Definition at line 92 of file nmg.h.

Referenced by nmg_check_radial(), nmg_class_ray_vs_shell(), nmg_cut_loop(), nmg_evaluate_boolean(), nmg_face_lu_plot(), nmg_face_plot(), nmg_face_state_transition(), nmg_kill_snakes(), nmg_mesh_faces(), nmg_pl_2fu(), nmg_pl_comb_fu(), nmg_plot_lu_ray(), and nmg_simplify_loop().

#define DEBUG_POLYSECT   0x00000020
 

6 nmg_inter: face intersection

Definition at line 93 of file nmg.h.

Referenced by nmg_enlist_vu(), nmg_isect2d_prep(), nmg_isect_face3p_shell_int(), nmg_isect_vert2p_face2p(), nmg_make_dualvu(), and nmg_purge_unwanted_intersection_points().

#define DEBUG_VERIFY   0x00000040
 

7 nmg_vshell() frequently, verify health

Definition at line 94 of file nmg.h.

Referenced by nmg_booltree_evaluate(), nmg_crackshells(), nmg_enlist_one_vu(), nmg_enlist_vu(), nmg_face_state_transition(), and nmg_js().

#define DEBUG_BOOL   0x00000080
 

8 nmg_bool:

Definition at line 95 of file nmg.h.

Referenced by nmg_boolean(), nmg_booltree_evaluate(), nmg_break_all_es_on_v(), and nmg_model_break_e_on_v().

#define DEBUG_CLASSIFY   0x00000100
 

9 nmg_class:

Definition at line 96 of file nmg.h.

Referenced by nmg_class_lu_fu(), nmg_class_pt_s(), nmg_class_ray_vs_shell(), and nmg_demote_lu().

#define DEBUG_BOOLEVAL   0x00000200
 

10 nmg_eval: what to retain

Definition at line 97 of file nmg.h.

Referenced by nmg_eval_action(), and nmg_evaluate_boolean().

#define DEBUG_BASIC   0x00000400
 

013 nmg_mk.c and nmg_mod.c routines

Definition at line 98 of file nmg.h.

Referenced by nmg_2lu_identical(), nmg_boolean(), nmg_break_long_edges(), nmg_check_radial(), nmg_close_shell(), nmg_cnurb_to_vlist(), nmg_dangling_face(), nmg_decompose_shell(), nmg_demote_eu(), nmg_demote_lu(), nmg_does_fu_use_eg(), nmg_dup_face(), nmg_dup_loop(), nmg_dup_shell(), nmg_e2break(), nmg_ebreak(), nmg_ebreaker(), nmg_edge_g(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_esplit(), nmg_eu_radial_check(), nmg_eusplit(), nmg_extrude_cleanup(), nmg_face_bb(), nmg_face_g(), nmg_face_g_snurb(), nmg_face_new_g(), nmg_find_e(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_eu_in_face(), nmg_find_fu_of_vu(), nmg_find_isect_faces(), nmg_find_top_face_in_dir(), nmg_findeu(), nmg_fix_decomposed_shell_normals(), nmg_fix_normals(), nmg_fix_overlapping_loops(), nmg_fu_planeeqn(), nmg_hollow_shell(), nmg_invert_shell(), nmg_is_crack_outie(), nmg_isect_shell_self(), nmg_je(), nmg_jeg(), nmg_jf(), nmg_jfg(), nmg_jl(), nmg_join_2loops(), nmg_join_2singvu_loops(), nmg_join_singvu_loop(), nmg_join_touchingloops(), nmg_js(), nmg_jv(), nmg_keu(), nmg_kfu(), nmg_kill_accordions(), nmg_kill_non_common_cracks(), nmg_kill_snakes(), nmg_klu(), nmg_km(), nmg_kr(), nmg_ks(), nmg_kvu(), nmg_loop_g(), nmg_loop_is_a_crack(), nmg_loop_is_ccw(), nmg_loop_split_at_touching_jaunt(), nmg_lu_reorient(), nmg_m_reindex(), nmg_me(), nmg_meonvu(), nmg_mf(), nmg_mk_new_face_from_loop(), nmg_ml(), nmg_mlv(), nmg_mm(), nmg_mmr(), nmg_model_break_e_on_v(), nmg_model_fuse(), nmg_model_vertex_fuse(), nmg_move_lu_between_fus(), nmg_moveltof(), nmg_movevu(), nmg_mrsv(), nmg_msv(), nmg_mv_fu_between_shells(), nmg_mv_lu_between_shells(), nmg_mv_shell_to_region(), nmg_pick_best_edge_g(), nmg_propagate_normals(), nmg_r_radial_check(), nmg_radial_build_list(), nmg_radial_implement_decisions(), nmg_reclassify_lu_eu(), nmg_region_a(), nmg_reverse_face(), nmg_reverse_face_and_radials(), nmg_reverse_radials(), nmg_rm_redundancies(), nmg_s_join_touchingloops(), nmg_s_radial_check(), nmg_s_radial_harmonize(), nmg_s_split_touchingloops(), nmg_sanitize_s_lv(), nmg_set_lu_orientation(), nmg_shell_a(), nmg_shell_coplanar_face_merge(), nmg_simple_vertex_solve(), nmg_simplify_face(), nmg_simplify_loop(), nmg_simplify_shell(), nmg_split_loops_into_faces(), nmg_split_touchingloops(), nmg_unbreak_region_edges(), nmg_unglueedge(), nmg_use_edge_g(), nmg_vertex_g(), nmg_vertex_gv(), nmg_vertexuse_a_cnurb(), nmg_vertexuse_nv(), and rt_dist_pt3_line3().

#define DEBUG_MESH   0x00000800
 

12 nmg_mesh: describe edge search

Definition at line 99 of file nmg.h.

Referenced by nmg_cnurb_is_linear(), nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_eval_linear_trim_to_tol(), nmg_eval_trim_curve(), nmg_eval_trim_to_tol(), nmg_mesh_two_faces(), nmg_radial_join_eu(), nmg_snurb_is_planar(), nmg_split_linear_trim(), and nmg_split_trim().

#define DEBUG_MESH_EU   0x00001000
 

13 nmg_mesh: list edges meshed

Definition at line 100 of file nmg.h.

Referenced by nmg_do_radial_join(), nmg_find_eu_leftvec(), nmg_radial_build_list(), nmg_radial_implement_decisions(), nmg_radial_join_eu(), nmg_radial_join_eu_NEW(), nmg_radial_mark_cracks(), and nmg_radial_mark_flips().

#define DEBUG_POLYTO   0x00002000
 

14 nmg_misc: polytonmg

Definition at line 101 of file nmg.h.

Referenced by nmg_polytonmg().

#define DEBUG_LABEL_PTS   0x00004000
 

15 label points in plot files

Definition at line 102 of file nmg.h.

Referenced by nmg_pl_v(), and nmg_vlblock_v().

#define DEBUG_NMGRT   0x00010000
 

17 ray tracing

Definition at line 104 of file nmg.h.

Referenced by nmg_plot_ray_face(), and rt_nmg_shot().

#define DEBUG_FINDEU   0x00020000
 

18 nmg_mod: nmg_findeu()

Definition at line 105 of file nmg.h.

Referenced by nmg_find_e(), nmg_find_eu_in_face(), and nmg_findeu().

#define DEBUG_CMFACE   0x00040000
 

19 nmg_mod: nmg_cmface()

Definition at line 106 of file nmg.h.

#define DEBUG_CUTLOOP   0x00080000
 

024 nmg_mod: nmg_cut_loop

Definition at line 107 of file nmg.h.

Referenced by nmg_cut_loop(), nmg_kill_accordions(), and nmg_loop_split_at_touching_jaunt().

#define DEBUG_VU_SORT   0x00100000
 

025 nmg_fcut: coincident vu sort

Definition at line 108 of file nmg.h.

Referenced by nmg_vu_angle_measure(), and nmg_wedge_class().

#define DEBUG_FCUT   0x00200000
 

026 nmg_fcut: face cutter

Definition at line 109 of file nmg.h.

Referenced by nmg_assess_eu(), nmg_assess_vu(), nmg_face_next_vu_interval(), nmg_face_rs_init(), and nmg_pl_comb_fu().

#define DEBUG_RT_SEGS   0x00400000
 

027 nmg_rt_segs:

Definition at line 110 of file nmg.h.

Referenced by nmg_ray_segs().

#define DEBUG_RT_ISECT   0x00800000
 

028 nmg_rt_isect:

Definition at line 111 of file nmg.h.

Referenced by rt_nurb_project_srf().

#define DEBUG_TRI   0x01000000
 

029 nmg_tri

Definition at line 112 of file nmg.h.

Referenced by nmg_flatten_face().

#define DEBUG_PT_FU   0x02000000
 

029 nmg_pt_fu

Definition at line 113 of file nmg.h.

Referenced by make_near_list(), nmg_class_pt_euvu(), nmg_class_pt_fu_except(), and nmg_class_pt_lu_except().

#define DEBUG_MANIF   0x04000000
 

029 nmg_manif

Definition at line 114 of file nmg.h.

Referenced by nmg_dangling_face(), nmg_manifolds(), and nmg_shell_manifolds().

#define NMG_DEBUG_FORMAT   "\020\033MANIF\032PTFU\031TRIANG\030RT_ISECT\\027RT_SEGS\026FCUT\025VU_SORT\024CUTLOOP\023CMFACE\022FINDEU\021RT_ISECT\020(FREE)\\017LABEL_PTS\016POLYTO\015MESH_EU\014MESH\013BASIC\012BOOLEVAL\011CLASSIFY\\010BOOL\7VERIFY\6POLYSECT\5PLOTEM\4PL_LOOP\3GRAPHCL\2PL_SLOW\1PL_ANIM"
 

Definition at line 115 of file nmg.h.

#define NMG_ARGS args   )     ()
 

Definition at line 131 of file nmg.h.

#define NMG_BOOL_SUB   1
 

subtraction

Definition at line 135 of file nmg.h.

Referenced by nmg_booltree_evaluate(), and nmg_evaluate_boolean().

#define NMG_BOOL_ADD   2
 

addition/union

Definition at line 136 of file nmg.h.

Referenced by nmg_booltree_evaluate(), and nmg_evaluate_boolean().

#define NMG_BOOL_ISECT   4
 

intsersection

Definition at line 137 of file nmg.h.

Referenced by nmg_booltree_evaluate(), and nmg_evaluate_boolean().

#define NMG_CLASS_Unknown   -1
 

Definition at line 140 of file nmg.h.

Referenced by isect_ray_planar_face(), nmg_class_name(), nmg_class_pt_euvu(), nmg_class_pt_fu_except(), nmg_class_pt_lu_except(), nmg_class_pt_s(), nmg_class_ray_vs_shell(), nmg_classify_lu_lu(), and nmg_fix_normals().

#define NMG_CLASS_AinB   0
 

Definition at line 141 of file nmg.h.

Referenced by isect_ray_planar_face(), nmg_class_pt_euvu(), nmg_class_pt_lu_except(), nmg_class_pt_s(), nmg_cut_lu_into_coplanar_and_non(), nmg_eval_action(), nmg_fix_normals(), nmg_fix_overlapping_loops(), nmg_is_crack_outie(), nmg_is_vertex_on_inter(), nmg_isect_eu_fu(), nmg_lu_is_convex(), nmg_rm_redundancies(), and nmg_split_loops_handler().

#define NMG_CLASS_AonBshared   1
 

Definition at line 142 of file nmg.h.

Referenced by isect_ray_planar_face(), nmg_class_lu_fu(), nmg_class_pt_lu_except(), nmg_class_pt_s(), nmg_cut_lu_into_coplanar_and_non(), nmg_eval_action(), nmg_is_crack_outie(), and nmg_rm_redundancies().

#define NMG_CLASS_AonBanti   2
 

Definition at line 143 of file nmg.h.

Referenced by nmg_eval_action().

#define NMG_CLASS_AoutB   3
 

Definition at line 144 of file nmg.h.

Referenced by isect_ray_planar_face(), nmg_class_pt_euvu(), nmg_class_pt_fu_except(), nmg_class_pt_lu_except(), nmg_class_pt_s(), nmg_eval_action(), nmg_fix_overlapping_loops(), nmg_is_crack_outie(), and nmg_lu_is_convex().

#define NMG_CLASS_BinA   4
 

Definition at line 145 of file nmg.h.

Referenced by nmg_eval_action().

#define NMG_CLASS_BonAshared   5
 

Definition at line 146 of file nmg.h.

Referenced by nmg_eval_action().

#define NMG_CLASS_BonAanti   6
 

Definition at line 147 of file nmg.h.

Referenced by nmg_eval_action().

#define NMG_CLASS_BoutA   7
 

Definition at line 148 of file nmg.h.

Referenced by nmg_eval_action().

#define OT_NONE   0
 

no orientation (error)

Definition at line 151 of file nmg.h.

Referenced by nmg_flatten_face(), nmg_me(), nmg_meonvu(), nmg_orientation(), nmg_pr_orient(), nmg_veu(), nmg_vfu(), and nmg_vlu().

#define OT_SAME   1
 

orientation same

Definition at line 152 of file nmg.h.

Referenced by nmg_bad_face_normals(), nmg_bot(), nmg_break_crossed_loops(), nmg_calc_face_plane(), nmg_check_closed_shell(), nmg_class_pt_fu_except(), nmg_class_pt_lu_except(), nmg_class_pt_s(), nmg_class_ray_vs_shell(), nmg_classify_lu_lu(), nmg_close_shell(), nmg_connect_same_fu_orients(), nmg_crackshells(), nmg_decompose_shell(), nmg_demote_eu(), nmg_dup_face(), nmg_dup_shell(), nmg_edge_collapse(), nmg_eu_radial_check(), nmg_extrude_cleanup(), nmg_face_g(), nmg_face_g_snurb(), nmg_face_new_g(), nmg_face_rs_init(), nmg_face_state_transition(), nmg_faceuse_area(), nmg_find_e(), nmg_find_eu_in_face(), nmg_find_fu_with_fg_in_s(), nmg_find_isect_faces(), nmg_find_ot_same_eu_of_e(), nmg_findeu(), nmg_fix_decomposed_shell_normals(), nmg_fix_normals(), nmg_fix_overlapping_loops(), nmg_flatten_face(), nmg_hollow_shell(), nmg_intersect_loops_self(), nmg_is_crack_outie(), nmg_isect_shell_self(), nmg_jl(), nmg_js(), nmg_kill_anti_loops(), nmg_kill_cracks(), nmg_lu_is_convex(), nmg_lu_reorient(), nmg_make_faces_at_vert(), nmg_make_faces_within_tol(), nmg_mf(), nmg_mk_new_face_from_loop(), nmg_move_edge_thru_pt(), nmg_mv_fu_between_shells(), nmg_mv_vu_between_shells(), nmg_open_shells_connect(), nmg_orientation(), nmg_pl_eu(), nmg_pr_orient(), nmg_propagate_normals(), nmg_radial_check_parity(), nmg_radial_join_eu_NEW(), nmg_radial_mark_flips(), nmg_reverse_face(), nmg_rm_redundancies(), nmg_s_to_vlist(), nmg_set_lu_orientation(), nmg_shell_area(), nmg_shell_is_void(), nmg_shell_manifolds(), nmg_simple_vertex_solve(), nmg_simplify_loop(), nmg_simplify_shell_edges(), nmg_snurb_fu_get_norm(), nmg_split_loops_handler(), nmg_to_arb(), nmg_to_poly(), nmg_to_tgc(), nmg_triangulate_fu(), nmg_triangulate_model(), nmg_triangulate_shell(), nmg_veu(), nmg_vfu(), nmg_vlblock_eu(), nmg_vlu(), rt_nmg_tclget(), stash_shell(), and tesselate_pipe_linear().

#define OT_OPPOSITE   2
 

orientation opposite

Definition at line 153 of file nmg.h.

Referenced by nmg_bad_face_normals(), nmg_class_pt_lu_except(), nmg_classify_lu_lu(), nmg_connect_same_fu_orients(), nmg_dup_shell(), nmg_extrude_face(), nmg_face_g(), nmg_face_g_snurb(), nmg_face_new_g(), nmg_face_rs_init(), nmg_faceuse_area(), nmg_fix_overlapping_loops(), nmg_flatten_face(), nmg_jl(), nmg_loop_plane_newell(), nmg_lu_is_convex(), nmg_lu_reorient(), nmg_move_edge_thru_pt(), nmg_orientation(), nmg_pl_eu(), nmg_pr_orient(), nmg_propagate_normals(), nmg_reverse_face(), nmg_rm_redundancies(), nmg_set_lu_orientation(), nmg_show_each_loop(), nmg_simplify_loop(), nmg_split_loops_handler(), nmg_veu(), nmg_vfu(), nmg_vlblock_eu(), nmg_vlu(), rt_ebm_tess(), tesselate_pipe_end(), and tesselate_pipe_start().

#define OT_UNSPEC   3
 

orientation unspecified

Definition at line 154 of file nmg.h.

Referenced by nmg_calc_face_plane(), nmg_cut_loop(), nmg_face_state_transition(), nmg_flatten_face(), nmg_mf(), nmg_ml(), nmg_orientation(), nmg_pr_orient(), nmg_s_join_touchingloops(), nmg_s_split_touchingloops(), nmg_sanitize_s_lv(), nmg_split_lu_at_vu(), nmg_veu(), nmg_vfu(), and nmg_vlu().

#define OT_BOOLPLACE   4
 

object is intermediate data for boolean ops

Definition at line 155 of file nmg.h.

Referenced by nmg_crackshells(), nmg_enlist_vu(), nmg_face_bb(), nmg_face_coincident_vu_sort(), nmg_face_state_transition(), nmg_flatten_face(), nmg_isect_vert2p_face2p(), nmg_lu_reorient(), nmg_make_dualvu(), nmg_orientation(), nmg_pr_orient(), nmg_sanitize_fu(), nmg_unbreak_edge(), nmg_unbreak_shell_edge_unsafe(), nmg_vlblock_lu(), and nmg_vlu().

#define NMG_MODEL_MAGIC   0x12121212
 

Definition at line 160 of file nmg.h.

Referenced by bu_identify_magic(), nmg_find_model(), nmg_index_of_struct(), nmg_mm(), nmg_pr_m(), nmg_show_broken_classifier_stuff(), nmg_visit(), and rt_nmg_magic_to_kind().

#define NMG_REGION_MAGIC   0x23232323
 

Definition at line 161 of file nmg.h.

Referenced by bu_identify_magic(), db_free_tree(), nmg_find_model(), nmg_index_of_struct(), nmg_mmr(), nmg_mrsv(), nmg_pr_r(), nmg_show_broken_classifier_stuff(), nmg_visit(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_REGION_A_MAGIC   0x696e6720
 

Definition at line 162 of file nmg.h.

Referenced by bu_identify_magic(), nmg_index_of_struct(), nmg_region_a(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_SHELL_MAGIC   0x71077345
 

shell oil

Definition at line 163 of file nmg.h.

Referenced by bu_identify_magic(), nmg_ck_eu(), nmg_ck_lu(), nmg_demote_eu(), nmg_eins(), nmg_eusplit(), nmg_find_fu_of_lu(), nmg_find_fu_of_vu(), nmg_find_lu_of_vu(), nmg_find_model(), nmg_find_s_of_eu(), nmg_find_s_of_lu(), nmg_find_v_in_shell(), nmg_index_of_struct(), nmg_is_vertex_a_selfloop_in_shell(), nmg_keu(), nmg_klu(), nmg_kvu(), nmg_meonvu(), nmg_mf(), nmg_mlv(), nmg_msv(), nmg_pr_eu(), nmg_pr_lu(), nmg_pr_s(), nmg_pr_s_briefly(), nmg_pr_vu(), nmg_show_broken_classifier_stuff(), nmg_veu(), nmg_visit(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_SHELL_A_MAGIC   0x65207761
 

Definition at line 164 of file nmg.h.

Referenced by bu_identify_magic(), nmg_index_of_struct(), nmg_pr_sa(), nmg_shell_a(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_FACE_MAGIC   0x45454545
 

Definition at line 165 of file nmg.h.

Referenced by bu_identify_magic(), nmg_find_model(), nmg_index_of_struct(), nmg_mf(), nmg_show_broken_classifier_stuff(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_FACE_G_PLANE_MAGIC   0x726b6e65
 

Definition at line 166 of file nmg.h.

Referenced by bu_identify_magic(), nmg_cnurb_to_vlist(), nmg_dup_face(), nmg_face_g(), nmg_face_new_g(), nmg_find_max_index(), nmg_find_top_face_in_dir(), nmg_fix_decomposed_shell_normals(), nmg_fix_normals(), nmg_index_of_struct(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_pr_fg(), nmg_pr_fu_briefly(), nmg_vfg(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_FACE_G_SNURB_MAGIC   0x736e7262
 

was RT_SNURB_MAGIC

Definition at line 167 of file nmg.h.

Referenced by bu_identify_magic(), nmg_dup_face(), nmg_face_bb(), nmg_face_g_snurb(), nmg_find_max_index(), nmg_find_top_face_in_dir(), nmg_index_of_struct(), nmg_lu_to_vlist(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_model_face_fuse(), nmg_pr_fg(), nmg_pr_one_eu_vecs(), nmg_radial_join_eu(), nmg_radial_join_eu_NEW(), nmg_s_to_vlist(), nmg_snurb_calc_lu_uv_orient(), nmg_snurb_fu_eval(), nmg_snurb_fu_get_norm(), nmg_vfg(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_FACEUSE_MAGIC   0x56565656
 

Definition at line 168 of file nmg.h.

Referenced by bu_identify_magic(), nmg_2lu_identical(), nmg_ck_lu(), nmg_classify_lu_lu(), nmg_classify_pt_loop(), nmg_edge_collapse(), nmg_eusplit(), nmg_faceradial(), nmg_find_e(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_eu_in_face(), nmg_find_eu_left_non_unit(), nmg_find_eu_leftvec(), nmg_find_fu_of_eu(), nmg_find_fu_of_lu(), nmg_find_model(), nmg_find_s_of_lu(), nmg_find_top_face_in_dir(), nmg_find_v_in_face(), nmg_findeu(), nmg_get_interior_pt(), nmg_index_of_struct(), nmg_is_crack_outie(), nmg_is_vertex_in_face(), nmg_isect2d_prep(), nmg_join_touchingloops(), nmg_kill_snakes(), nmg_klu(), nmg_loop_is_a_crack(), nmg_lu_to_vlist(), nmg_mf(), nmg_mk_new_face_from_loop(), nmg_mlv(), nmg_pl_edges_in_2_shells(), nmg_pl_eu(), nmg_pr_fu(), nmg_pr_lu(), nmg_pr_one_eu_vecs(), nmg_radial_face_edge_in_shell(), nmg_show_broken_classifier_stuff(), nmg_simplify_loop(), nmg_snurb_calc_lu_uv_orient(), nmg_vfu(), nmg_visit(), nmg_vlblock_eu(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_LOOP_MAGIC   0x67676767
 

Definition at line 169 of file nmg.h.

Referenced by bu_identify_magic(), nmg_find_model(), nmg_index_of_struct(), nmg_ml(), nmg_mlv(), nmg_pr_l(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_LOOP_G_MAGIC   0x6420224c
 

Definition at line 170 of file nmg.h.

Referenced by bu_identify_magic(), nmg_index_of_struct(), nmg_loop_g(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_LOOPUSE_MAGIC   0x78787878
 

Definition at line 171 of file nmg.h.

Referenced by bu_identify_magic(), nmg_assess_vu(), nmg_ck_eu(), nmg_class_pt_euvu(), nmg_edge_collapse(), nmg_eins(), nmg_eu_is_part_of_crack(), nmg_eusplit(), nmg_face_coincident_vu_sort(), nmg_face_state_transition(), nmg_faceradial(), nmg_find_e(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_eu_in_face(), nmg_find_eu_left_non_unit(), nmg_find_eu_leftvec(), nmg_find_fu_of_eu(), nmg_find_fu_of_vu(), nmg_find_lu_of_vu(), nmg_find_model(), nmg_find_repeated_v_in_lu(), nmg_find_s_of_eu(), nmg_find_s_of_vu(), nmg_find_top_face_in_dir(), nmg_find_v_in_face(), nmg_find_v_in_shell(), nmg_find_zero_length_edges(), nmg_findeu(), nmg_index_of_struct(), nmg_insert_vu_if_on_edge(), nmg_is_vertex_a_selfloop_in_shell(), nmg_is_vertex_in_face(), nmg_jl(), nmg_join_2singvu_loops(), nmg_join_singvu_loop(), nmg_join_touchingloops(), nmg_keu(), nmg_kill_snakes(), nmg_kvu(), nmg_loop_is_a_crack(), nmg_loop_touches_self(), nmg_measure_fu_angle(), nmg_meonvu(), nmg_ml(), nmg_mlv(), nmg_move_edge_thru_pt(), nmg_onon_fix(), nmg_pl_edges_in_2_shells(), nmg_pl_eu(), nmg_pl_lu_around_eu(), nmg_plot_lu_around_eu(), nmg_pr_eu(), nmg_pr_one_eu_vecs(), nmg_pr_vu(), nmg_radial_face_edge_in_shell(), nmg_simplify_loop(), nmg_split_touchingloops(), nmg_veu(), nmg_visit(), nmg_vlblock_eu(), nmg_vlu(), nmg_vu_angle_measure(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_EDGE_MAGIC   0x33333333
 

Definition at line 172 of file nmg.h.

Referenced by bu_identify_magic(), nmg_edge_collapse(), nmg_find_model(), nmg_index_of_struct(), nmg_me(), nmg_meonvu(), nmg_model_edge_fuse(), nmg_pr_e(), nmg_unglueedge(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_EDGE_G_LSEG_MAGIC   0x6c696768
 

Definition at line 173 of file nmg.h.

Referenced by bu_identify_magic(), nmg_ck_geometry(), nmg_edge_collapse(), nmg_edge_g(), nmg_find_max_index(), nmg_index_of_struct(), nmg_keg(), nmg_m_reindex(), nmg_m_struct_count(), nmg_model_edge_fuse(), nmg_move_edge_thru_pt(), nmg_pr_eg(), nmg_veg(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_EDGE_G_CNURB_MAGIC   0x636e7262
 

was RT_CNURB_MAGIC

Definition at line 174 of file nmg.h.

Referenced by bu_identify_magic(), get_seg_midpoint(), nmg_break_all_es_on_v(), nmg_ck_geometry(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_find_max_index(), nmg_index_of_struct(), nmg_keg(), nmg_lu_to_vlist(), nmg_m_reindex(), nmg_m_struct_count(), nmg_model_break_e_on_v(), nmg_model_edge_g_fuse(), nmg_pr_eg(), nmg_pr_fu_around_eu(), nmg_snurb_calc_lu_uv_orient(), nmg_uv_in_lu(), nmg_veg(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_EDGEUSE_MAGIC   0x90909090
 

Definition at line 175 of file nmg.h.

Referenced by bu_identify_magic(), nmg_bot(), nmg_break_crossed_loops(), nmg_break_long_edges(), nmg_calc_face_plane(), nmg_check_closed_shell(), nmg_ck_closed_surf(), nmg_ck_lu(), nmg_classify_lu_lu(), nmg_connect_same_fu_orients(), nmg_crackshells(), nmg_cut_lu_into_coplanar_and_non(), nmg_dangling_face(), nmg_decompose_shell(), nmg_demote_lu(), nmg_edge_collapse(), nmg_extrude_face(), nmg_face_state_transition(), nmg_faces_are_radial(), nmg_faceuse_area(), nmg_find_e(), nmg_find_eu_in_face(), nmg_find_eu_of_vu(), nmg_find_eu_with_vu_in_lu(), nmg_find_fu_of_vu(), nmg_find_isect_faces(), nmg_find_model(), nmg_find_pt_in_lu(), nmg_find_repeated_v_in_lu(), nmg_find_top_face_in_dir(), nmg_find_v_in_face(), nmg_find_v_in_shell(), nmg_findeu(), nmg_fix_overlapping_loops(), nmg_flatten_face(), nmg_follow_free_edges_to_vertex(), nmg_fu_planeeqn(), nmg_get_interior_pt(), nmg_get_touching_jaunts(), nmg_glue_face_in_shell(), nmg_index_of_struct(), nmg_insert_vu_if_on_edge(), nmg_intersect_loops_self(), nmg_is_edge_in_looplist(), nmg_is_vertex_in_face(), nmg_is_vertex_in_looplist(), nmg_isect2d_prep(), nmg_isect_eu_fu(), nmg_isect_fu_jra(), nmg_join_singvu_loop(), nmg_join_touchingloops(), nmg_k0eu(), nmg_kill_accordions(), nmg_kill_anti_loops(), nmg_kill_cracks(), nmg_kill_cracks_at_vertex(), nmg_kill_non_common_cracks(), nmg_kill_snakes(), nmg_kill_zero_length_edgeuses(), nmg_klu(), nmg_kvu(), nmg_loop_g(), nmg_loop_is_a_crack(), nmg_loop_plane_area(), nmg_loop_plane_newell(), nmg_loop_touches_self(), nmg_lu_is_convex(), nmg_make_dualvu(), nmg_me(), nmg_meonvu(), nmg_mesh_two_faces(), nmg_open_shells_connect(), nmg_pl_isect(), nmg_pr_lu(), nmg_pr_lu_briefly(), nmg_pr_vu(), nmg_propagate_normals(), nmg_reverse_face_and_radials(), nmg_reverse_radials(), nmg_rm_redundancies(), nmg_search_v_eg(), nmg_simplify_loop(), nmg_simplify_shell_edges(), nmg_snurb_calc_lu_uv_orient(), nmg_split_loops_handler(), nmg_split_touchingloops(), nmg_to_poly(), nmg_to_tgc(), nmg_translate_face(), nmg_triangulate_fu(), nmg_unbreak_edge(), nmg_unbreak_shell_edge_unsafe(), nmg_uv_in_lu(), nmg_veu(), nmg_visit(), nmg_vlblock_lu(), nmg_vlu(), rt_nmg_ialloc(), rt_nmg_magic_to_kind(), and tesselate_pipe_end().

#define NMG_EDGEUSE2_MAGIC   0x91919191
 

used in eu->l2.magic

Definition at line 176 of file nmg.h.

Referenced by bu_identify_magic(), nmg_common_v_2eg(), nmg_edgeuse_with_eg_tabulate(), nmg_eusplit(), nmg_index_of_struct(), nmg_jeg(), nmg_me(), nmg_meonvu(), nmg_veg(), and rt_nmg_ialloc().

#define NMG_VERTEX_MAGIC   0x00123123
 

Definition at line 177 of file nmg.h.

Referenced by bu_identify_magic(), nmg_find_model(), nmg_index_of_struct(), nmg_polytonmg(), nmg_pr_v(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_VERTEX_G_MAGIC   0x72737707
 

Definition at line 178 of file nmg.h.

Referenced by bu_identify_magic(), nmg_index_of_struct(), nmg_pr_vg(), nmg_vertex_gv(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_VERTEXUSE_MAGIC   0x12341234
 

Definition at line 179 of file nmg.h.

Referenced by bu_identify_magic(), nmg_ck_closed_surf(), nmg_ck_face_worthless_edges(), nmg_ck_fu_verts(), nmg_ck_lu(), nmg_ck_lueu(), nmg_class_lu_fu(), nmg_class_pt_lu_except(), nmg_classify_lu_lu(), nmg_close_shell(), nmg_demote_lu(), nmg_does_fu_use_eg(), nmg_dup_loop(), nmg_face_rs_init(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_max_index(), nmg_find_model(), nmg_find_pt_in_lu(), nmg_find_vertex_in_lu(), nmg_flatten_face(), nmg_hollow_shell(), nmg_in_or_ref(), nmg_index_of_struct(), nmg_is_common_bigloop(), nmg_is_edge_in_looplist(), nmg_is_vertex_in_looplist(), nmg_isect_face3p_shell_int(), nmg_isect_vert2p_face2p(), nmg_klu(), nmg_loop_g(), nmg_lu_reorient(), nmg_lu_to_vlist(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_meonvu(), nmg_move_edge_thru_pt(), nmg_open_shells_connect(), nmg_pl_isect(), nmg_pr_lu(), nmg_pr_lu_briefly(), nmg_pr_ptbl_vert_list(), nmg_pr_vu(), nmg_purge_unwanted_intersection_points(), nmg_reclassify_lu_eu(), nmg_rm_redundancies(), nmg_sanitize_s_lv(), nmg_show_each_loop(), nmg_tabulate_face_g_verts(), nmg_triangulate_fu(), nmg_visit(), nmg_visit_loopuse(), nmg_vlblock_lu(), nmg_vlu(), nmg_vvu(), rt_nmg_ialloc(), rt_nmg_magic_to_kind(), and rt_nmg_tclget().

#define NMG_VERTEXUSE_A_PLANE_MAGIC   0x69676874
 

Definition at line 180 of file nmg.h.

Referenced by bu_identify_magic(), nmg_index_of_struct(), nmg_kvu(), nmg_lu_to_vlist(), nmg_pr_vu(), nmg_pr_vua(), nmg_vertexuse_nv(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_VERTEXUSE_A_CNURB_MAGIC   0x20416e64
 

Definition at line 181 of file nmg.h.

Referenced by bu_identify_magic(), nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_index_of_struct(), nmg_kvu(), nmg_pr_vu(), nmg_pr_vua(), nmg_snurb_calc_lu_uv_orient(), nmg_snurb_fu_get_norm_at_vu(), nmg_uv_in_lu(), nmg_vertexuse_a_cnurb(), nmg_vertexuse_nv(), rt_nmg_ialloc(), and rt_nmg_magic_to_kind().

#define NMG_KNOT_VECTOR_MAGIC   0x6b6e6f74
 

aka RT_KNOT_VECTOR_MAGIC

Definition at line 182 of file nmg.h.

Referenced by bu_identify_magic(), and nmg_face_g_snurb().

#define NMG_CKMAG _ptr,
_magic,
_str   )     BU_CKMAG(_ptr,_magic,_str)
 

macros to check/validate a structure pointer

Definition at line 187 of file nmg.h.

Referenced by nmg_common_v_2eg(), nmg_edgeuse_with_eg_tabulate(), and nmg_jeg().

#define NMG_CK2MAG _ptr,
_magic1,
_magic2,
_str   ) 
 

Value:

if( !(_ptr) || (*((long *)(_ptr)) != (_magic1) && *((long *)(_ptr)) != (_magic2) ) )  { \
                bu_badmagic( (long *)(_ptr), _magic1, _str, __FILE__, __LINE__ ); \
        }

Definition at line 188 of file nmg.h.

#define NMG_CK_MODEL _p   )     NMG_CKMAG(_p, NMG_MODEL_MAGIC, "model")
 

Definition at line 193 of file nmg.h.

Referenced by nmg_2face_plot(), nmg_boolean(), nmg_booltree_leaf_tess(), nmg_booltree_leaf_tnurb(), nmg_ck_geometry(), nmg_ck_vs_in_region(), nmg_class_pt_s(), nmg_count_shell_kids(), nmg_cut_loop(), nmg_decompose_shell(), nmg_e_and_v_tabulate(), nmg_edge_collapse(), nmg_edge_g_tabulate(), nmg_edge_tabulate(), nmg_edgeuse_on_line_tabulate(), nmg_edgeuse_tabulate(), nmg_extrude_shell(), nmg_face_plot(), nmg_face_tabulate(), nmg_find_e_nearest_pt2(), nmg_find_pt_in_model(), nmg_has_dangling_faces(), nmg_invert_shell(), nmg_isect_edge2p_edge2p(), nmg_isect_eu_eu(), nmg_isect_eu_fu(), nmg_isect_fu_jra(), nmg_isect_ray_model(), nmg_isect_shell_self(), nmg_kill_zero_length_edgeuses(), nmg_km(), nmg_kr(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_m_to_vlist(), nmg_manifolds(), nmg_merge_models(), nmg_merge_regions(), nmg_mirror_model(), nmg_model_area(), nmg_model_bb(), nmg_model_break_e_on_v(), nmg_model_edge_fuse(), nmg_model_edge_g_fuse(), nmg_model_face_fuse(), nmg_model_fuse(), nmg_model_vertex_fuse(), nmg_move_edge_thru_pt(), nmg_mrsv(), nmg_pl_2fu(), nmg_pl_comb_fu(), nmg_plot_lu_around_eu(), nmg_rebound(), nmg_shell_is_void(), nmg_split_loops_into_faces(), nmg_stash_model_to_file(), nmg_struct_counts(), nmg_to_arb(), nmg_to_poly(), nmg_to_tgc(), nmg_triangulate_model(), nmg_unbreak_region_edges(), nmg_vertex_tabulate(), nmg_vertexuse_normal_tabulate(), nmg_visit_model(), nmg_vlblock_m(), nmg_vlblock_s(), nmg_vmodel(), rt_ebm_tess(), rt_nmg_describe(), rt_nmg_edisk(), rt_nmg_export(), rt_nmg_export5(), rt_nmg_export_internal(), rt_nmg_idisk(), rt_nmg_ifree(), rt_nmg_import(), rt_nmg_plot(), rt_nmg_prep(), rt_nmg_print(), rt_nmg_tcladjust(), rt_nmg_tclget(), rt_nmg_tess(), rt_pipe_tess(), rt_rhc_tess(), rt_rpc_tess(), rt_vol_tess(), wdb_nmg_collapse_cmd(), wdb_nmg_simplify_cmd(), and wdb_shells_cmd().

#define NMG_CK_REGION _p   )     NMG_CKMAG(_p, NMG_REGION_MAGIC, "region")
 

Definition at line 194 of file nmg.h.

Referenced by db_free_tree(), nmg_booltree_evaluate(), nmg_ck_closed_region(), nmg_ck_vs_in_region(), nmg_decompose_shell(), nmg_do_bool(), nmg_extrude_shell(), nmg_find_max_index(), nmg_find_outer_and_void_shells(), nmg_find_pt_in_model(), nmg_hollow_shell(), nmg_isect_ray_model(), nmg_isect_shell_self(), nmg_kill_zero_length_edgeuses(), nmg_kr(), nmg_ks(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_m_to_vlist(), nmg_manifolds(), nmg_merge_models(), nmg_merge_regions(), nmg_mk_model_from_region(), nmg_model_bb(), nmg_msv(), nmg_mv_shell_to_region(), nmg_r_radial_check(), nmg_r_to_vlist(), nmg_rebound(), nmg_region_a(), nmg_region_area(), nmg_region_v_unique(), nmg_triangulate_model(), nmg_visit_region(), nmg_vlblock_r(), nmg_vlblock_s(), nmg_vregion(), nmg_vshell(), rt_nmg_edisk(), rt_nmg_idisk(), rt_nmg_prep(), rt_nmg_tess(), and wdb_facetize_cmd().

#define NMG_CK_REGION_A _p   )     NMG_CKMAG(_p, NMG_REGION_A_MAGIC, "region_a")
 

Definition at line 195 of file nmg.h.

Referenced by nmg_class_pt_s(), nmg_isect_ray_model(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_model_bb(), nmg_region_a(), nmg_vregion(), rt_nmg_edisk(), rt_nmg_idisk(), and rt_nmg_prep().

#define NMG_CK_SHELL _p   )     NMG_CKMAG(_p, NMG_SHELL_MAGIC, "shell")
 

Definition at line 196 of file nmg.h.

Referenced by nmg_add_loop_to_face(), nmg_bad_face_normals(), nmg_bot(), nmg_break_crossed_loops(), nmg_break_long_edges(), nmg_cface(), nmg_check_closed_shell(), nmg_check_radial(), nmg_check_radial_angles(), nmg_ck_closed_surf(), nmg_ck_fu(), nmg_class_pt_s(), nmg_class_ray_vs_shell(), nmg_class_shells(), nmg_close_shell(), nmg_cmface(), nmg_crackshells(), nmg_decompose_shell(), nmg_demote_eu(), nmg_demote_lu(), nmg_do_bool(), nmg_dup_face(), nmg_dup_shell(), nmg_eins(), nmg_eu_2s_orient_bad(), nmg_eusplit(), nmg_evaluate_boolean(), nmg_extrude_cleanup(), nmg_extrude_shell(), nmg_find_e(), nmg_find_fu_with_fg_in_s(), nmg_find_matching_eu_in_s(), nmg_find_max_index(), nmg_find_outer_and_void_shells(), nmg_find_pt_in_model(), nmg_find_pt_in_shell(), nmg_find_top_face_in_dir(), nmg_findeu(), nmg_fix_decomposed_shell_normals(), nmg_fix_normals(), nmg_fix_overlapping_loops(), nmg_follow_free_edges_to_vertex(), nmg_glue_face_in_shell(), nmg_gluefaces(), nmg_hollow_shell(), nmg_intersect_loops_self(), nmg_invert_shell(), nmg_is_vertex_a_selfloop_in_shell(), nmg_isect_face3p_shell_int(), nmg_isect_shell_self(), nmg_js(), nmg_kfu(), nmg_kill_anti_loops(), nmg_kill_cracks(), nmg_kill_non_common_cracks(), nmg_kill_zero_length_edgeuses(), nmg_ks(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_make_faces_within_tol(), nmg_manifolds(), nmg_me(), nmg_mesh_face_shell(), nmg_mesh_shell_shell(), nmg_mf(), nmg_mk_new_face_from_loop(), nmg_ml(), nmg_moveltof(), nmg_mv_shell_to_region(), nmg_next_radial_eu(), nmg_open_shells_connect(), nmg_pl_edges_in_2_shells(), nmg_pl_isect(), nmg_pr_one_eu_vecs(), nmg_prev_radial_eu(), nmg_r_radial_check(), nmg_radial_check_parity(), nmg_radial_face_count(), nmg_radial_find_an_original(), nmg_radial_mark_flips(), nmg_rebound(), nmg_rm_redundancies(), nmg_s_join_touchingloops(), nmg_s_radial_check(), nmg_s_radial_harmonize(), nmg_s_split_touchingloops(), nmg_s_to_vlist(), nmg_sanitize_s_lv(), nmg_shell_a(), nmg_shell_area(), nmg_shell_coplanar_face_merge(), nmg_shell_is_empty(), nmg_shell_is_void(), nmg_shell_manifolds(), nmg_show_each_loop(), nmg_simplify_shell(), nmg_simplify_shell_edges(), nmg_to_arb(), nmg_to_tgc(), nmg_triangulate_model(), nmg_triangulate_shell(), nmg_unbreak_edge(), nmg_unbreak_shell_edge_unsafe(), nmg_vfu(), nmg_visit_shell(), nmg_vlblock_s(), nmg_vlist_to_wire_edges(), nmg_vshell(), rt_nmg_edisk(), rt_nmg_idisk(), tesselate_pipe_bend(), tesselate_pipe_end(), tesselate_pipe_linear(), and tesselate_pipe_start().

#define NMG_CK_SHELL_A _p   )     NMG_CKMAG(_p, NMG_SHELL_A_MAGIC, "shell_a")
 

Definition at line 197 of file nmg.h.

Referenced by nmg_crackshells(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_pl_isect(), nmg_region_a(), nmg_shell_a(), nmg_vshell(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_FACE _p   )     NMG_CKMAG(_p, NMG_FACE_MAGIC, "face")
 

Definition at line 198 of file nmg.h.

Referenced by nmg_bot(), nmg_calc_face_plane(), nmg_ck_f(), nmg_ck_fg_verts(), nmg_ck_fu_verts(), nmg_ck_vert_on_fus(), nmg_class_lu_fu(), nmg_class_pt_fu_except(), nmg_crackshells(), nmg_dup_face(), nmg_extrude_shell(), nmg_face_bb(), nmg_face_g(), nmg_face_g_snurb(), nmg_face_new_g(), nmg_faces_can_be_intersected(), nmg_find_eg_between_2fg(), nmg_find_eu_leftvec(), nmg_find_fu_with_fg_in_s(), nmg_find_max_index(), nmg_fix_decomposed_shell_normals(), nmg_hollow_shell(), nmg_is_common_bigloop(), nmg_is_vertex_in_face(), nmg_isect_two_generic_faces(), nmg_jfg(), nmg_js(), nmg_kfu(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_model_face_fuse(), nmg_pr_f(), nmg_pr_fus_in_fg(), nmg_rebound(), nmg_reverse_face(), nmg_s_to_vlist(), nmg_shell_a(), nmg_shell_coplanar_face_merge(), nmg_shell_is_void(), nmg_snurb_calc_lu_uv_orient(), nmg_snurb_fu_eval(), nmg_snurb_fu_get_norm(), nmg_snurb_fu_to_vlist(), nmg_tabulate_face_g_verts(), nmg_two_face_fuse(), nmg_vface(), nmg_vfu(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_FACE_G_PLANE _p   )     NMG_CKMAG(_p, NMG_FACE_G_PLANE_MAGIC, "face_g_plane")
 

Definition at line 199 of file nmg.h.

Referenced by nmg_calc_face_plane(), nmg_ck_f(), nmg_ck_fg(), nmg_ck_fg_verts(), nmg_ck_fu_verts(), nmg_ck_vert_on_fus(), nmg_class_lu_fu(), nmg_class_pt_fu_except(), nmg_crackshells(), nmg_extrude_shell(), nmg_face_g(), nmg_find_eg_between_2fg(), nmg_find_eu_leftvec(), nmg_find_fu_with_fg_in_s(), nmg_hollow_shell(), nmg_isect2d_prep(), nmg_isect_two_generic_faces(), nmg_jfg(), nmg_model_face_fuse(), nmg_s_to_vlist(), nmg_shell_coplanar_face_merge(), nmg_shell_is_void(), nmg_tabulate_face_g_verts(), nmg_two_face_fuse(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_FACE_G_SNURB _p   )     NMG_CKMAG(_p, NMG_FACE_G_SNURB_MAGIC, "face_g_snurb")
 

Definition at line 200 of file nmg.h.

Referenced by isect_ray_snurb_face(), nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_eval_linear_trim_curve(), nmg_eval_linear_trim_to_tol(), nmg_eval_trim_curve(), nmg_eval_trim_to_tol(), nmg_snurb_fu_to_vlist(), nmg_snurb_is_planar(), nmg_snurb_to_vlist(), nmg_split_linear_trim(), nmg_split_trim(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_FACE_G_EITHER _p   )     NMG_CK2MAG(_p, NMG_FACE_G_PLANE_MAGIC, NMG_FACE_G_SNURB_MAGIC, "face_g_plane|face_g_snurb")
 

Definition at line 201 of file nmg.h.

Referenced by nmg_model_face_fuse(), nmg_pr_fus_in_fg(), nmg_reverse_face(), nmg_vfg(), and rt_nmg_idisk().

#define NMG_CK_FACEUSE _p   )     NMG_CKMAG(_p, NMG_FACEUSE_MAGIC, "faceuse")
 

Definition at line 202 of file nmg.h.

Referenced by isect_ray_snurb_face(), nmg_2face_plot(), nmg_bad_face_normals(), nmg_break_crossed_loops(), nmg_break_eu_on_v(), nmg_break_long_edges(), nmg_calc_face_plane(), nmg_check_closed_shell(), nmg_check_radial(), nmg_ck_closed_surf(), nmg_ck_f(), nmg_ck_fg_verts(), nmg_ck_fu(), nmg_ck_fu_verts(), nmg_ck_lu_orientation(), nmg_ck_v_in_2fus(), nmg_ck_vert_on_fus(), nmg_ck_vu_ptbl(), nmg_class_lu_fu(), nmg_class_pt_fu_except(), nmg_class_pt_lu_except(), nmg_classify_lu_lu(), nmg_close_shell(), nmg_cnurb_to_vlist(), nmg_crackshells(), nmg_cut_loop(), nmg_dangling_face(), nmg_decompose_shell(), nmg_does_fu_use_eg(), nmg_dup_face(), nmg_dup_shell(), nmg_edge_collapse(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_eins(), nmg_enlist_vu(), nmg_extrude_face(), nmg_extrude_shell(), nmg_face_bb(), nmg_face_cutjoin(), nmg_face_g(), nmg_face_g_snurb(), nmg_face_new_g(), nmg_face_plot(), nmg_face_rs_init(), nmg_face_state_transition(), nmg_faceradial(), nmg_faces_are_radial(), nmg_faces_can_be_intersected(), nmg_faceuse_area(), nmg_fcut_face_2d(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_eu_in_face(), nmg_find_eu_leftvec(), nmg_find_first_last_use_of_v_in_fu(), nmg_find_fu_with_fg_in_s(), nmg_find_isect_faces(), nmg_find_max_index(), nmg_find_pt_in_face(), nmg_find_pt_in_shell(), nmg_find_top_face_in_dir(), nmg_fix_decomposed_shell_normals(), nmg_fix_normals(), nmg_fix_overlapping_loops(), nmg_flatten_face(), nmg_fu_planeeqn(), nmg_fu_touchingloops(), nmg_glue_face_in_shell(), nmg_gluefaces(), nmg_hollow_shell(), nmg_intersect_loops_self(), nmg_invert_shell(), nmg_is_common_bigloop(), nmg_is_crack_outie(), nmg_is_edge_in_facelist(), nmg_is_loop_in_facelist(), nmg_is_vertex_in_facelist(), nmg_is_vertex_on_inter(), nmg_isect_2colinear_edge2p(), nmg_isect_construct_nice_ray(), nmg_isect_eu_fu(), nmg_isect_face3p_shell_int(), nmg_isect_fu_jra(), nmg_isect_line2_edge2p(), nmg_isect_line2_face2pNEW(), nmg_isect_line2_vertex2(), nmg_isect_shell_self(), nmg_isect_two_generic_faces(), nmg_isect_vert2p_face2p(), nmg_jf(), nmg_join_touchingloops(), nmg_js(), nmg_kfu(), nmg_kill_anti_loops(), nmg_kill_cracks(), nmg_kill_cracks_at_vertex(), nmg_kill_non_common_cracks(), nmg_kill_zero_length_edgeuses(), nmg_loop_is_a_crack(), nmg_lu_reorient(), nmg_lu_to_vlist(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_make_dualvu(), nmg_make_faces_at_vert(), nmg_make_faces_within_tol(), nmg_mesh_face_shell(), nmg_mesh_faces(), nmg_mesh_shell_shell(), nmg_mesh_two_faces(), nmg_mk_new_face_from_loop(), nmg_move_edge_thru_pt(), nmg_move_lu_between_fus(), nmg_moveltof(), nmg_mv_fu_between_shells(), nmg_open_shells_connect(), nmg_pl_edges_in_2_shells(), nmg_pl_fu(), nmg_pl_isect(), nmg_pr_fu(), nmg_pr_fu_briefly(), nmg_pr_fus_in_fg(), nmg_pr_one_eu_vecs(), nmg_propagate_normals(), nmg_purge_unwanted_intersection_points(), nmg_radial_join_eu(), nmg_rebound(), nmg_reverse_face(), nmg_reverse_face_and_radials(), nmg_reverse_radials(), nmg_rm_redundancies(), nmg_s_to_vlist(), nmg_sanitize_fu(), nmg_shell_is_void(), nmg_shell_manifolds(), nmg_show_each_loop(), nmg_simplify_face(), nmg_simplify_shell_edges(), nmg_snurb_calc_lu_uv_orient(), nmg_snurb_fu_eval(), nmg_snurb_fu_get_norm(), nmg_snurb_fu_get_norm_at_vu(), nmg_snurb_fu_to_vlist(), nmg_split_loops_handler(), nmg_tabulate_face_g_verts(), nmg_to_arb(), nmg_to_poly(), nmg_to_tgc(), nmg_triangulate_fu(), nmg_triangulate_model(), nmg_triangulate_shell(), nmg_vface(), nmg_vfu(), nmg_visit_faceuse(), nmg_vlblock_fu(), nmg_vlblock_s(), rt_ebm_tess(), rt_nmg_edisk(), rt_nmg_idisk(), and tesselate_pipe_linear().

#define NMG_CK_LOOP _p   )     NMG_CKMAG(_p, NMG_LOOP_MAGIC, "loop")
 

Definition at line 203 of file nmg.h.

Referenced by nmg_ck_l(), nmg_ck_lg(), nmg_ck_lu(), nmg_find_max_index(), nmg_is_loop_in_facelist(), nmg_js(), nmg_klu(), nmg_loop_g(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_pr_l(), nmg_rebound(), nmg_rm_redundancies(), nmg_split_touchingloops(), nmg_visit_loop(), nmg_vloop(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_LOOP_G _p   )     NMG_CKMAG(_p, NMG_LOOP_G_MAGIC, "loop_g")
 

Definition at line 204 of file nmg.h.

Referenced by nmg_ck_lg(), nmg_klu(), nmg_loop_g(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_pr_lg(), nmg_vlg(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_LOOPUSE _p   )     NMG_CKMAG(_p, NMG_LOOPUSE_MAGIC, "loopuse")
 

Definition at line 205 of file nmg.h.

Referenced by nmg_2lu_identical(), nmg_bad_face_normals(), nmg_break_crossed_loops(), nmg_break_long_edges(), nmg_check_closed_shell(), nmg_check_radial(), nmg_ck_closed_surf(), nmg_ck_face_worthless_edges(), nmg_ck_fu(), nmg_ck_l(), nmg_ck_lu(), nmg_ck_lu_orientation(), nmg_class_lu_fu(), nmg_class_pt_euvu(), nmg_class_pt_fu_except(), nmg_class_pt_lu_except(), nmg_classify_lu_lu(), nmg_classify_pt_loop(), nmg_close_shell(), nmg_crackshells(), nmg_cut_loop(), nmg_cut_lu_into_coplanar_and_non(), nmg_dangling_face(), nmg_decompose_shell(), nmg_demote_lu(), nmg_does_fu_use_eg(), nmg_dup_loop(), nmg_dup_shell(), nmg_eins(), nmg_eu_is_part_of_crack(), nmg_eusplit(), nmg_extrude_face(), nmg_face_coincident_vu_sort(), nmg_face_lu_plot(), nmg_face_state_transition(), nmg_faceradial(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_eu_leftvec(), nmg_find_eu_with_vu_in_lu(), nmg_find_lu_of_vu(), nmg_find_max_index(), nmg_find_next_use_of_2e_in_lu(), nmg_find_pt_in_face(), nmg_find_pt_in_shell(), nmg_find_repeated_v_in_lu(), nmg_find_top_face_in_dir(), nmg_find_vertex_in_lu(), nmg_fix_overlapping_loops(), nmg_fu_planeeqn(), nmg_fu_touchingloops(), nmg_get_interior_pt(), nmg_get_touching_jaunts(), nmg_glue_face_in_shell(), nmg_hollow_shell(), nmg_intersect_loops_self(), nmg_is_crack_outie(), nmg_is_edge_in_looplist(), nmg_is_loop_in_facelist(), nmg_is_vertex_a_selfloop_in_shell(), nmg_is_vertex_in_looplist(), nmg_isect_eu_fu(), nmg_isect_face3p_shell_int(), nmg_isect_fu_jra(), nmg_isect_vert2p_face2p(), nmg_jl(), nmg_join_2loops(), nmg_join_2singvu_loops(), nmg_join_singvu_loop(), nmg_join_touchingloops(), nmg_js(), nmg_keu(), nmg_kill_accordions(), nmg_kill_anti_loops(), nmg_kill_cracks(), nmg_kill_cracks_at_vertex(), nmg_kill_non_common_cracks(), nmg_kill_snakes(), nmg_kill_zero_length_edgeuses(), nmg_klu(), nmg_loop_g(), nmg_loop_is_a_crack(), nmg_loop_plane_area(), nmg_loop_plane_newell(), nmg_loop_split_at_touching_jaunt(), nmg_loop_touches_self(), nmg_lu_is_convex(), nmg_lu_reorient(), nmg_lu_to_vlist(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_meonvu(), nmg_mesh_two_faces(), nmg_mf(), nmg_mk_new_face_from_loop(), nmg_move_edge_thru_pt(), nmg_move_lu_between_fus(), nmg_moveltof(), nmg_mv_lu_between_shells(), nmg_open_shells_connect(), nmg_pl_edges_in_2_shells(), nmg_pl_isect(), nmg_plot_lu_ray(), nmg_pr_lu(), nmg_pr_lu_briefly(), nmg_pr_one_eu_vecs(), nmg_propagate_normals(), nmg_rebound(), nmg_reclassify_lu_eu(), nmg_reverse_face_and_radials(), nmg_reverse_radials(), nmg_rm_redundancies(), nmg_sanitize_fu(), nmg_set_lu_orientation(), nmg_show_each_loop(), nmg_simplify_loop(), nmg_simplify_shell_edges(), nmg_snurb_calc_lu_uv_orient(), nmg_split_loops_handler(), nmg_split_lu_at_vu(), nmg_split_touchingloops(), nmg_tabulate_face_g_verts(), nmg_to_poly(), nmg_to_tgc(), nmg_translate_face(), nmg_uv_in_lu(), nmg_visit_loopuse(), nmg_vlblock_lu(), nmg_vlblock_s(), nmg_vloop(), nmg_vlu(), nmg_vu_angle_measure(), rt_ell_tnurb(), rt_nmg_edisk(), rt_nmg_idisk(), rt_tgc_tnurb(), and tesselate_pipe_end().

#define NMG_CK_EDGE _p   )     NMG_CKMAG(_p, NMG_EDGE_MAGIC, "edge")
 

Definition at line 206 of file nmg.h.

Referenced by nmg_break_edge_at_verts(), nmg_break_edges(), nmg_check_radial_angles(), nmg_ck_e(), nmg_ck_eu(), nmg_class_pt_lu_except(), nmg_demote_lu(), nmg_dup_loop(), nmg_edge_collapse(), nmg_edge_g(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_esplit(), nmg_find_e_nearest_pt2(), nmg_find_max_index(), nmg_find_next_use_of_2e_in_lu(), nmg_find_ot_same_eu_of_e(), nmg_is_crack_outie(), nmg_is_edge_in_edgelist(), nmg_is_edge_in_facelist(), nmg_is_edge_in_looplist(), nmg_isect2d_prep(), nmg_js(), nmg_keu(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_mark_edges_real(), nmg_mesh_two_faces(), nmg_pl_eu(), nmg_pr_e(), nmg_radial_mark_cracks(), nmg_reclassify_lu_eu(), nmg_rm_redundancies(), nmg_s_radial_check(), nmg_s_radial_harmonize(), nmg_shell_a(), nmg_unbreak_edge(), nmg_unbreak_handler(), nmg_unbreak_shell_edge_unsafe(), nmg_unglueedge(), nmg_vedge(), nmg_visit_edge(), nmg_vlblock_e(), nmg_vlblock_eu(), nmg_vlblock_s(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_EDGE_G_LSEG _p   )     NMG_CKMAG(_p, NMG_EDGE_G_LSEG_MAGIC, "edge_g_lseg")
 

Definition at line 207 of file nmg.h.

Referenced by nmg_2edgeuse_g_coincident(), nmg_break_eg_on_v(), nmg_ck_eg_verts(), nmg_ck_geometry(), nmg_common_v_2eg(), nmg_ebreak(), nmg_edge_g(), nmg_edge_geom_isect_line(), nmg_face_combineX(), nmg_face_next_vu_interval(), nmg_face_rs_init(), nmg_face_state_transition(), nmg_fcut_face(), nmg_is_common_bigloop(), nmg_is_eu_on_line3(), nmg_isect2d_prep(), nmg_isect_line2_face2pNEW(), nmg_jeg(), nmg_model_edge_g_fuse(), nmg_move_edge_thru_pt(), nmg_pick_best_edge_g(), nmg_repair_v_near_v(), nmg_search_v_eg(), nmg_unbreak_edge(), nmg_unbreak_shell_edge_unsafe(), nmg_use_edge_g(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_EDGE_G_CNURB _p   )     NMG_CKMAG(_p, NMG_EDGE_G_CNURB_MAGIC, "edge_g_cnurb")
 

Definition at line 208 of file nmg.h.

Referenced by nmg_cnurb_is_linear(), nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_cnurb_to_vlist(), nmg_eval_linear_trim_to_tol(), nmg_eval_trim_curve(), nmg_eval_trim_to_tol(), nmg_snurb_calc_lu_uv_orient(), nmg_split_trim(), nmg_vertexuse_a_cnurb(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_EDGE_G_EITHER _p   )     NMG_CK2MAG(_p, NMG_EDGE_G_LSEG_MAGIC, NMG_EDGE_G_CNURB_MAGIC, "edge_g_lseg|edge_g_cnurb")
 

Definition at line 209 of file nmg.h.

Referenced by nmg_does_fu_use_eg(), nmg_edgeuse_with_eg_tabulate(), nmg_find_eg_between_2fg(), nmg_model_edge_g_fuse(), nmg_pr_eg(), nmg_unbreak_handler(), nmg_veg(), and rt_nmg_idisk().

#define NMG_CK_EDGEUSE _p   )     NMG_CKMAG(_p, NMG_EDGEUSE_MAGIC, "edgeuse")
 

Definition at line 210 of file nmg.h.

Referenced by nmg_2edgeuse_g_coincident(), nmg_2lu_identical(), nmg_assess_eu(), nmg_break_all_es_on_v(), nmg_break_edge_at_verts(), nmg_break_eg_on_v(), nmg_break_eu_on_v(), nmg_break_long_edges(), nmg_check_radial(), nmg_check_radial_angles(), nmg_ck_e(), nmg_ck_eg_verts(), nmg_ck_eu(), nmg_ck_lu(), nmg_ck_lueu(), nmg_class_lu_fu(), nmg_class_pt_euvu(), nmg_classify_lu_lu(), nmg_close_shell(), nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_cnurb_to_vlist(), nmg_common_v_2eg(), nmg_crackshells(), nmg_cut_loop(), nmg_dangling_face(), nmg_decompose_shell(), nmg_demote_eu(), nmg_demote_lu(), nmg_do_radial_join(), nmg_dup_loop(), nmg_dup_shell(), nmg_e2break(), nmg_ebreak(), nmg_ebreaker(), nmg_edge_collapse(), nmg_edge_g(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_edge_geom_isect_line(), nmg_edgeuse_with_eg_tabulate(), nmg_eins(), nmg_esplit(), nmg_eu_2s_orient_bad(), nmg_eu_2vecs_perp(), nmg_eu_is_part_of_crack(), nmg_eu_radial_check(), nmg_eu_to_vlist(), nmg_euprint(), nmg_eusplit(), nmg_extrude_face(), nmg_face_state_transition(), nmg_faceradial(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_eu_in_face(), nmg_find_eu_left_non_unit(), nmg_find_eu_leftvec(), nmg_find_eu_with_vu_in_lu(), nmg_find_first_last_use_of_v_in_fu(), nmg_find_fu_of_eu(), nmg_find_lu_of_vu(), nmg_find_matching_eu_in_s(), nmg_find_max_index(), nmg_find_next_use_of_2e_in_lu(), nmg_find_pt_in_shell(), nmg_find_radial_eu(), nmg_find_repeated_v_in_lu(), nmg_find_top_face_in_dir(), nmg_find_vertex_in_lu(), nmg_find_zero_length_edges(), nmg_findeu(), nmg_fix_overlapping_loops(), nmg_follow_free_edges_to_vertex(), nmg_fu_planeeqn(), nmg_get_interior_pt(), nmg_glue_face_in_shell(), nmg_hollow_shell(), nmg_is_crack_outie(), nmg_is_edge_in_edgelist(), nmg_is_eu_on_line3(), nmg_is_vertex_in_edgelist(), nmg_isect_2colinear_edge2p(), nmg_isect_edge2p_edge2p(), nmg_isect_eu_eu(), nmg_isect_eu_fu(), nmg_isect_eu_verts(), nmg_isect_fu_jra(), nmg_isect_line2_edge2p(), nmg_isect_line2_face2pNEW(), nmg_je(), nmg_jeg(), nmg_jl(), nmg_join_2loops(), nmg_join_singvu_loop(), nmg_join_touchingloops(), nmg_js(), nmg_k0eu(), nmg_keg(), nmg_keu(), nmg_kill_anti_loops(), nmg_kill_cracks(), nmg_kill_cracks_at_vertex(), nmg_kill_non_common_cracks(), nmg_kill_snakes(), nmg_kill_zero_length_edgeuses(), nmg_loop_is_a_crack(), nmg_loop_plane_area(), nmg_loop_touches_self(), nmg_lu_to_vlist(), nmg_m_reindex(), nmg_m_set_high_bit(), nmg_m_struct_count(), nmg_make_faces_at_vert(), nmg_measure_fu_angle(), nmg_mesh_two_faces(), nmg_ml(), nmg_model_break_e_on_v(), nmg_model_edge_g_fuse(), nmg_move_edge_thru_pt(), nmg_mv_eu_between_shells(), nmg_next_radial_eu(), nmg_offset_eu_vert(), nmg_open_shells_connect(), nmg_pick_best_edge_g(), nmg_pl_e(), nmg_pl_edges_in_2_shells(), nmg_pl_eu(), nmg_pl_isect(), nmg_pl_lu_around_eu(), nmg_plot_lu_around_eu(), nmg_pr_eu(), nmg_pr_eu_briefly(), nmg_pr_eu_endpoints(), nmg_pr_fu_around_eu(), nmg_pr_fu_around_eu_vecs(), nmg_pr_one_eu_vecs(), nmg_prev_radial_eu(), nmg_propagate_normals(), nmg_radial_build_list(), nmg_radial_face_count(), nmg_radial_face_edge_in_shell(), nmg_radial_join_eu(), nmg_radial_join_eu_NEW(), nmg_reclassify_lu_eu(), nmg_rm_redundancies(), nmg_search_v_eg(), nmg_shell_a(), nmg_simplify_loop(), nmg_simplify_shell_edges(), nmg_snurb_calc_lu_uv_orient(), nmg_split_lu_at_vu(), nmg_split_touchingloops(), nmg_tabulate_face_g_verts(), nmg_to_tgc(), nmg_unbreak_edge(), nmg_unbreak_handler(), nmg_unbreak_shell_edge_unsafe(), nmg_unglueedge(), nmg_use_edge_g(), nmg_vedge(), nmg_veg(), nmg_vertexuse_a_cnurb(), nmg_veu(), nmg_visit_edgeuse(), nmg_vlblock_around_eu(), nmg_vlblock_e(), nmg_vlblock_eu(), nmg_vlblock_euleft(), nmg_vlblock_s(), rt_ell_tnurb(), rt_nmg_edisk(), rt_nmg_idisk(), rt_tgc_tnurb(), and tesselate_pipe_end().

#define NMG_CK_VERTEX _p   )     NMG_CKMAG(_p, NMG_VERTEX_MAGIC, "vertex")
 

Definition at line 211 of file nmg.h.

Referenced by nmg_assess_eu(), nmg_break_all_es_on_v(), nmg_break_edge_at_verts(), nmg_break_eg_on_v(), nmg_break_eu_on_v(), nmg_cface(), nmg_ck_closed_surf(), nmg_ck_eg_verts(), nmg_ck_fu_verts(), nmg_ck_v_in_2fus(), nmg_ck_vert_on_fus(), nmg_ck_vu_ptbl(), nmg_class_lu_fu(), nmg_class_pt_euvu(), nmg_cmface(), nmg_complex_vertex_solve(), nmg_dup_loop(), nmg_dup_shell(), nmg_e2break(), nmg_edge_collapse(), nmg_edge_g(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_esplit(), nmg_eu_2vecs_perp(), nmg_eu_to_vlist(), nmg_euprint(), nmg_eusplit(), nmg_extrude_shell(), nmg_find_e(), nmg_find_eu_in_face(), nmg_find_first_last_use_of_v_in_fu(), nmg_find_isect_faces(), nmg_find_pt_in_lu(), nmg_find_pt_in_model(), nmg_find_pt_in_shell(), nmg_find_repeated_v_in_lu(), nmg_find_top_face_in_dir(), nmg_find_v_in_face(), nmg_find_vertex_in_lu(), nmg_findeu(), nmg_fix_overlapping_loops(), nmg_follow_free_edges_to_vertex(), nmg_fu_planeeqn(), nmg_hollow_shell(), nmg_in_vert(), nmg_is_v_on_rs_list(), nmg_is_vertex_a_selfloop_in_shell(), nmg_is_vertex_in_edgelist(), nmg_is_vertex_in_face(), nmg_is_vertex_in_facelist(), nmg_is_vertex_in_looplist(), nmg_is_vertex_on_inter(), nmg_isect_eu_fu(), nmg_isect_fu_jra(), nmg_join_touchingloops(), nmg_js(), nmg_jv(), nmg_k0eu(), nmg_kill_anti_loops(), nmg_kill_cracks_at_vertex(), nmg_kvu(), nmg_loop_g(), nmg_loop_is_a_crack(), nmg_loop_plane_area(), nmg_loop_touches_self(), nmg_lu_to_vlist(), nmg_make_dualvu(), nmg_make_faces_at_vert(), nmg_me(), nmg_meonvu(), nmg_mesh_two_faces(), nmg_mirror_model(), nmg_mk_model_from_region(), nmg_ml(), nmg_mlv(), nmg_model_break_e_on_v(), nmg_move_edge_thru_pt(), nmg_movevu(), nmg_mv_vu_between_shells(), nmg_offset_eu_vert(), nmg_onon_fix(), nmg_open_shells_connect(), nmg_pl_e(), nmg_pl_eu(), nmg_pl_v(), nmg_pr_v(), nmg_pr_vu_briefly(), nmg_ptbl_vfuse(), nmg_reclassify_lu_eu(), nmg_region_both_vfuse(), nmg_region_v_unique(), nmg_repair_v_near_v(), nmg_rm_redundancies(), nmg_search_v_eg(), nmg_shell_a(), nmg_split_lu_at_vu(), nmg_split_touchingloops(), nmg_tabulate_face_g_verts(), nmg_to_arb(), nmg_to_tgc(), nmg_unbreak_handler(), nmg_unlist_v(), nmg_vedge(), nmg_vertex_gv(), nmg_visit_vertex(), nmg_vlblock_e(), nmg_vlblock_eu(), nmg_vlblock_v(), nmg_vu_to_vlist(), nmg_vvertex(), rt_nmg_edisk(), rt_nmg_idisk(), and rt_nmg_tclget().

#define NMG_CK_VERTEX_G _p   )     NMG_CKMAG(_p, NMG_VERTEX_G_MAGIC, "vertex_g")
 

Definition at line 212 of file nmg.h.

Referenced by nmg_ck_eg_verts(), nmg_ck_fu_verts(), nmg_ck_vert_on_fus(), nmg_class_lu_fu(), nmg_classify_lu_lu(), nmg_cut_lu_into_coplanar_and_non(), nmg_dup_loop(), nmg_edge_g(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_eu_2vecs_perp(), nmg_eu_to_vlist(), nmg_euprint(), nmg_find_first_last_use_of_v_in_fu(), nmg_find_pt_in_lu(), nmg_find_pt_in_shell(), nmg_fu_planeeqn(), nmg_get_interior_pt(), nmg_is_vertex_on_inter(), nmg_isect_eu_eu(), nmg_isect_eu_fu(), nmg_isect_eu_verts(), nmg_loop_g(), nmg_loop_plane_area(), nmg_lu_is_convex(), nmg_lu_to_vlist(), nmg_mv_vu_between_shells(), nmg_offset_eu_vert(), nmg_pl_e(), nmg_pl_eu(), nmg_pl_v(), nmg_pr_eu_endpoints(), nmg_pr_vg(), nmg_pr_vu_briefly(), nmg_shell_a(), nmg_to_poly(), nmg_to_tgc(), nmg_vertex_gv(), nmg_vlblock_e(), nmg_vlblock_eu(), nmg_vlblock_v(), nmg_vu_to_vlist(), nmg_vvg(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_VERTEXUSE _p   )     NMG_CKMAG(_p, NMG_VERTEXUSE_MAGIC, "vertexuse")
 

Definition at line 213 of file nmg.h.

Referenced by nmg_assess_vu(), nmg_break_long_edges(), nmg_ck_closed_surf(), nmg_ck_eu(), nmg_ck_lu(), nmg_ck_vu_ptbl(), nmg_class_lu_fu(), nmg_classify_lu_lu(), nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_cut_loop(), nmg_dup_loop(), nmg_dup_shell(), nmg_edge_g(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_enlist_one_vu(), nmg_enlist_vu(), nmg_esplit(), nmg_eu_to_vlist(), nmg_euprint(), nmg_face_lu_plot(), nmg_face_state_transition(), nmg_find_e(), nmg_find_eu_in_face(), nmg_find_eu_of_vu(), nmg_find_eu_with_vu_in_lu(), nmg_find_first_last_use_of_v_in_fu(), nmg_find_fu_of_vu(), nmg_find_isect_faces(), nmg_find_lu_of_vu(), nmg_find_matching_eu_in_s(), nmg_find_pt_in_shell(), nmg_find_s_of_vu(), nmg_find_top_face_in_dir(), nmg_find_v_in_face(), nmg_find_v_in_shell(), nmg_find_vertex_in_lu(), nmg_findeu(), nmg_follow_free_edges_to_vertex(), nmg_fu_planeeqn(), nmg_fu_touchingloops(), nmg_hollow_shell(), nmg_insert_vu_if_on_edge(), nmg_is_vertex_a_selfloop_in_shell(), nmg_is_vertex_in_edgelist(), nmg_is_vertex_in_looplist(), nmg_isect_edge2p_edge2p(), nmg_isect_line2_edge2p(), nmg_isect_line2_vertex2(), nmg_isect_two_ptbls(), nmg_isect_vert2p_face2p(), nmg_join_2loops(), nmg_join_2singvu_loops(), nmg_join_singvu_loop(), nmg_join_touchingloops(), nmg_js(), nmg_jv(), nmg_k0eu(), nmg_kill_cracks_at_vertex(), nmg_kvu(), nmg_loop_g(), nmg_loop_is_a_crack(), nmg_loop_plane_area(), nmg_loop_touches_self(), nmg_lu_to_vlist(), nmg_meonvu(), nmg_ml(), nmg_mlv(), nmg_movevu(), nmg_mv_vu_between_shells(), nmg_offset_eu_vert(), nmg_onon_fix(), nmg_pl_e(), nmg_pl_eu(), nmg_plot_lu_ray(), nmg_pr_vu(), nmg_pr_vu_briefly(), nmg_reclassify_lu_eu(), nmg_rm_redundancies(), nmg_shell_a(), nmg_shell_manifolds(), nmg_simplify_shell_edges(), nmg_snurb_calc_lu_uv_orient(), nmg_snurb_fu_get_norm_at_vu(), nmg_split_lu_at_vu(), nmg_split_touchingloops(), nmg_tabulate_face_g_verts(), nmg_to_tgc(), nmg_unbreak_edge(), nmg_unbreak_shell_edge_unsafe(), nmg_vedge(), nmg_vertexuse_a_cnurb(), nmg_vertexuse_nv(), nmg_visit_vertexuse(), nmg_vlblock_e(), nmg_vlblock_eu(), nmg_vlblock_lu(), nmg_vu_angle_measure(), nmg_vu_to_vlist(), nmg_vvertex(), nmg_vvu(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_VERTEXUSE_A_PLANE _p   )     NMG_CKMAG(_p, NMG_VERTEXUSE_A_PLANE_MAGIC, "vertexuse_a_plane")
 

Definition at line 214 of file nmg.h.

Referenced by nmg_vertexuse_nv(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_VERTEXUSE_A_CNURB _p   )     NMG_CKMAG(_p, NMG_VERTEXUSE_A_CNURB_MAGIC, "vertexuse_a_cnurb")
 

Definition at line 215 of file nmg.h.

Referenced by nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_cnurb_to_vlist(), nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), nmg_snurb_fu_get_norm_at_vu(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_VERTEXUSE_A_EITHER _p   )     NMG_CK2MAG(_p, NMG_VERTEXUSE_A_PLANE_MAGIC, NMG_VERTEXUSE_A_CNURB_MAGIC, "vertexuse_a_plane|vertexuse_a_cnurb")
 

Definition at line 216 of file nmg.h.

Referenced by nmg_kvu(), nmg_vvua(), rt_nmg_edisk(), and rt_nmg_idisk().

#define NMG_CK_LIST _p   )     BU_CKMAG(_p, BU_LIST_HEAD_MAGIC, "bu_list")
 

Definition at line 217 of file nmg.h.

Referenced by nmg_vlist_to_wire_edges().

#define NMG_TEST_EDGEUSE _p   ) 
 

Value:

if (!(_p)->l.forw || !(_p)->l.back || !(_p)->eumate_p || \
            !(_p)->radial_p || !(_p)->e_p || !(_p)->vu_p || \
            !(_p)->up.magic_p ) { \
                bu_log("in %s at %d Bad edgeuse member pointer\n",\
                         __FILE__, __LINE__);  nmg_pr_eu(_p, (char *)NULL); \
                        rt_bomb("Null pointer\n"); \
        } else if ((_p)->vu_p->up.eu_p != (_p) || \
        (_p)->eumate_p->vu_p->up.eu_p != (_p)->eumate_p) {\
                bu_log("in %s at %d edgeuse lost vertexuse\n",\
                         __FILE__, __LINE__); rt_bomb("bye");}

Definition at line 220 of file nmg.h.

Referenced by nmg_esplit().

#define RT_KNOT_VECTOR_MAGIC   NMG_KNOT_VECTOR_MAGIC
 

nurb.h compat

Definition at line 245 of file nmg.h.

#define NMG_GET_FU_NORMAL _N,
_fu   ) 
 

Value:

{ \
        register const struct faceuse   *_fu1 = (_fu); \
        register const struct face_g_plane      *_fg; \
        NMG_CK_FACEUSE(_fu1); \
        NMG_CK_FACE(_fu1->f_p); \
        _fg = _fu1->f_p->g.plane_p; \
        NMG_CK_FACE_G_PLANE(_fg); \
        if( (_fu1->orientation != OT_SAME) != (_fu1->f_p->flip != 0) )  { \
                VREVERSE( _N, _fg->N); \
        } else { \
                VMOVE( _N, _fg->N ); \
        } }
Returns a 3-tuple (vect_t), given faceuse and state of flip flags

Definition at line 391 of file nmg.h.

Referenced by nmg_2lu_identical(), nmg_bad_face_normals(), nmg_find_eu_left_non_unit(), nmg_find_eu_leftvec(), nmg_find_top_face_in_dir(), nmg_fix_decomposed_shell_normals(), nmg_fix_normals(), nmg_flatten_face(), nmg_move_edge_thru_pt(), nmg_s_to_vlist(), nmg_shell_is_void(), nmg_to_poly(), and nmg_triangulate_fu().

#define NMG_GET_FU_PLANE _N,
_fu   ) 
 

Value:

{ \
        register const struct faceuse   *_fu1 = (_fu); \
        register const struct face_g_plane      *_fg; \
        NMG_CK_FACEUSE(_fu1); \
        NMG_CK_FACE(_fu1->f_p); \
        _fg = _fu1->f_p->g.plane_p; \
        NMG_CK_FACE_G_PLANE(_fg); \
        if( (_fu1->orientation != OT_SAME) != (_fu1->f_p->flip != 0) )  { \
                HREVERSE( _N, _fg->N); \
        } else { \
                HMOVE( _N, _fg->N ); \
        } }
Returns a 4-tuple (plane_t), given faceuse and state of flip flags

Definition at line 405 of file nmg.h.

Referenced by isect_ray_planar_face(), nmg_ck_lu_orientation(), nmg_ck_v_in_2fus(), nmg_class_lu_fu(), nmg_class_pt_fu_except(), nmg_class_pt_lu_except(), nmg_class_pt_s(), nmg_classify_pt_loop(), nmg_complex_vertex_solve(), nmg_dup_face(), nmg_dup_shell(), nmg_extrude_face(), nmg_face_rs_init(), nmg_faces_can_be_intersected(), nmg_is_crack_outie(), nmg_is_vertex_on_inter(), nmg_isect_eu_fu(), nmg_isect_two_generic_faces(), nmg_lu_reorient(), nmg_shell_coplanar_face_merge(), nmg_simple_vertex_solve(), nmg_split_loops_handler(), and nmg_to_tgc().

#define RT_LIST_SET_DOWN_TO_VERT _hp,
_vu   ) 
 

Value:

{ \
        (_hp)->forw = &((_vu)->l); (_hp)->back = (struct bu_list *)NULL; }
L O O P

To find all the uses of this loop, use lu_p for one loopuse, then go down and find an edge, then wander around either eumate_p or radial_p from there.

Normally, down_hd heads a doubly linked list of edgeuses. But, before using it, check BU_LIST_FIRST_MAGIC(&lu->down_hd) for the magic number type. If this is a self-loop on a single vertexuse, then get the vertex pointer with vu = BU_LIST_FIRST(vertexuse, &lu->down_hd)

This is an especially dangerous storage efficiency measure ("hack"), because the list that the vertexuse structure belongs to is headed, not by a superior element type, but by the vertex structure. When a loopuse needs to point down to a vertexuse, rip off the forw pointer. Take careful note that this is just a pointer, **not** the head of a linked list (single, double, or otherwise)! Exercise great care!

The edges of an exterior (OT_SAME) loop occur in counter-clockwise order, as viewed from the normalward side (outside).

Definition at line 442 of file nmg.h.

Referenced by nmg_mlv().

#define NMG_GETSTRUCT p,
str   )     BU_GETSTRUCT(p,str)
 

storage allocation and de-allocation support Primarily used by nmg_mk.c

Definition at line 610 of file nmg.h.

#define NMG_FREESTRUCT ptr,
str   ) 
 

Value:

{ bzero((char *)(ptr), sizeof(struct str)); \
          bu_free((char *)(ptr), "freestruct str"); }

Definition at line 618 of file nmg.h.

#define NMG_INCR_INDEX _p,
_m   )     NMG_CK_MODEL(_m); (_p)->index = ((_m)->maxindex)++
 

Definition at line 631 of file nmg.h.

#define GET_REGION p,
 )     {NMG_GETSTRUCT(p, nmgregion); NMG_INCR_INDEX(p,m);}
 

Definition at line 634 of file nmg.h.

Referenced by nmg_mmr(), nmg_mrsv(), and rt_nmg_ialloc().

#define GET_REGION_A p,
 )     {NMG_GETSTRUCT(p, nmgregion_a); NMG_INCR_INDEX(p,m);}
 

Definition at line 635 of file nmg.h.

Referenced by nmg_region_a(), and rt_nmg_ialloc().

#define GET_SHELL p,
 )     {NMG_GETSTRUCT(p, shell); NMG_INCR_INDEX(p,m);}
 

Definition at line 636 of file nmg.h.

Referenced by nmg_msv(), and rt_nmg_ialloc().

#define GET_SHELL_A p,
 )     {NMG_GETSTRUCT(p, shell_a); NMG_INCR_INDEX(p,m);}
 

Definition at line 637 of file nmg.h.

Referenced by nmg_shell_a(), and rt_nmg_ialloc().

#define GET_FACE p,
 )     {NMG_GETSTRUCT(p, face); NMG_INCR_INDEX(p,m);}
 

Definition at line 638 of file nmg.h.

Referenced by nmg_mf(), and rt_nmg_ialloc().

#define GET_FACE_G_PLANE p,
 )     {NMG_GETSTRUCT(p, face_g_plane); NMG_INCR_INDEX(p,m);}
 

Definition at line 639 of file nmg.h.

Referenced by nmg_face_g(), nmg_face_new_g(), and rt_nmg_ialloc().

#define GET_FACE_G_SNURB p,
 )     {NMG_GETSTRUCT(p, face_g_snurb); NMG_INCR_INDEX(p,m);}
 

Definition at line 640 of file nmg.h.

Referenced by nmg_face_g_snurb(), and rt_nmg_ialloc().

#define GET_FACEUSE p,
 )     {NMG_GETSTRUCT(p, faceuse); NMG_INCR_INDEX(p,m);}
 

Definition at line 641 of file nmg.h.

Referenced by nmg_mf(), and rt_nmg_ialloc().

#define GET_LOOP p,
 )     {NMG_GETSTRUCT(p, loop); NMG_INCR_INDEX(p,m);}
 

Definition at line 642 of file nmg.h.

Referenced by nmg_ml(), nmg_mlv(), and rt_nmg_ialloc().

#define GET_LOOP_G p,
 )     {NMG_GETSTRUCT(p, loop_g); NMG_INCR_INDEX(p,m);}
 

Definition at line 643 of file nmg.h.

Referenced by nmg_loop_g(), and rt_nmg_ialloc().

#define GET_LOOPUSE p,
 )     {NMG_GETSTRUCT(p, loopuse); NMG_INCR_INDEX(p,m);}
 

Definition at line 644 of file nmg.h.

Referenced by nmg_ml(), nmg_mlv(), and rt_nmg_ialloc().

#define GET_EDGE p,
 )     {NMG_GETSTRUCT(p, edge); NMG_INCR_INDEX(p,m);}
 

Definition at line 645 of file nmg.h.

Referenced by nmg_me(), nmg_meonvu(), nmg_unglueedge(), and rt_nmg_ialloc().

#define GET_EDGE_G_LSEG p,
 )     {NMG_GETSTRUCT(p, edge_g_lseg); NMG_INCR_INDEX(p,m);}
 

Definition at line 646 of file nmg.h.

Referenced by nmg_edge_g(), and rt_nmg_ialloc().

#define GET_EDGE_G_CNURB p,
 )     {NMG_GETSTRUCT(p, edge_g_cnurb); NMG_INCR_INDEX(p,m);}
 

Definition at line 647 of file nmg.h.

Referenced by nmg_edge_g_cnurb(), nmg_edge_g_cnurb_plinear(), and rt_nmg_ialloc().

#define GET_EDGEUSE p,
 )     {NMG_GETSTRUCT(p, edgeuse); NMG_INCR_INDEX(p,m);}
 

Definition at line 648 of file nmg.h.

Referenced by nmg_me(), nmg_meonvu(), and rt_nmg_ialloc().

#define GET_VERTEX p,
 )     {NMG_GETSTRUCT(p, vertex); NMG_INCR_INDEX(p,m);}
 

Definition at line 649 of file nmg.h.

Referenced by nmg_polytonmg(), and rt_nmg_ialloc().

#define GET_VERTEX_G p,
 )     {NMG_GETSTRUCT(p, vertex_g); NMG_INCR_INDEX(p,m);}
 

Definition at line 650 of file nmg.h.

Referenced by nmg_vertex_gv(), and rt_nmg_ialloc().

#define GET_VERTEXUSE p,
 )     {NMG_GETSTRUCT(p, vertexuse); NMG_INCR_INDEX(p,m);}
 

Definition at line 651 of file nmg.h.

Referenced by rt_nmg_ialloc().

#define GET_VERTEXUSE_A_PLANE p,
 )     {NMG_GETSTRUCT(p, vertexuse_a_plane); NMG_INCR_INDEX(p,m);}
 

Definition at line 652 of file nmg.h.

Referenced by nmg_vertexuse_nv(), and rt_nmg_ialloc().

#define GET_VERTEXUSE_A_CNURB p,
 )     {NMG_GETSTRUCT(p, vertexuse_a_cnurb); NMG_INCR_INDEX(p,m);}
 

Definition at line 653 of file nmg.h.

Referenced by nmg_vertexuse_a_cnurb(), and rt_nmg_ialloc().

#define FREE_MODEL  )     NMG_FREESTRUCT(p, model)
 

Definition at line 655 of file nmg.h.

Referenced by nmg_km(), and nmg_merge_models().

#define FREE_REGION  )     NMG_FREESTRUCT(p, nmgregion)
 

Definition at line 656 of file nmg.h.

Referenced by nmg_kr().

#define FREE_REGION_A  )     NMG_FREESTRUCT(p, nmgregion_a)
 

Definition at line 657 of file nmg.h.

Referenced by nmg_kr().

#define FREE_SHELL  )     NMG_FREESTRUCT(p, shell)
 

Definition at line 658 of file nmg.h.

Referenced by nmg_ks().

#define FREE_SHELL_A  )     NMG_FREESTRUCT(p, shell_a)
 

Definition at line 659 of file nmg.h.

Referenced by nmg_ks().

#define FREE_FACE  )     NMG_FREESTRUCT(p, face)
 

Definition at line 660 of file nmg.h.

Referenced by nmg_kfu().

#define FREE_FACE_G_PLANE  )     NMG_FREESTRUCT(p, face_g_plane)
 

Definition at line 661 of file nmg.h.

Referenced by nmg_jfg().

#define FREE_FACE_G_SNURB  )     NMG_FREESTRUCT(p, face_g_snurb)
 

Definition at line 662 of file nmg.h.

#define FREE_FACEUSE  )     NMG_FREESTRUCT(p, faceuse)
 

Definition at line 663 of file nmg.h.

Referenced by nmg_kfu().

#define FREE_LOOP  )     NMG_FREESTRUCT(p, loop)
 

Definition at line 664 of file nmg.h.

Referenced by nmg_klu().

#define FREE_LOOP_G  )     NMG_FREESTRUCT(p, loop_g)
 

Definition at line 665 of file nmg.h.

Referenced by nmg_klu().

#define FREE_LOOPUSE  )     NMG_FREESTRUCT(p, loopuse)
 

Definition at line 666 of file nmg.h.

Referenced by nmg_klu().

#define FREE_LOOPUSE_A  )     NMG_FREESTRUCT(p, loopuse_a)
 

Definition at line 667 of file nmg.h.

#define FREE_EDGE  )     NMG_FREESTRUCT(p, edge)
 

Definition at line 668 of file nmg.h.

Referenced by nmg_je(), and nmg_keu().

#define FREE_EDGE_G_LSEG  )     NMG_FREESTRUCT(p, edge_g_lseg)
 

Definition at line 669 of file nmg.h.

Referenced by nmg_keg().

#define FREE_EDGE_G_CNURB  )     NMG_FREESTRUCT(p, edge_g_cnurb)
 

Definition at line 670 of file nmg.h.

Referenced by nmg_keg().

#define FREE_EDGEUSE  )     NMG_FREESTRUCT(p, edgeuse)
 

Definition at line 671 of file nmg.h.

Referenced by nmg_keu().

#define FREE_VERTEX  )     NMG_FREESTRUCT(p, vertex)
 

Definition at line 672 of file nmg.h.

Referenced by nmg_jv(), nmg_kvu(), and nmg_movevu().

#define FREE_VERTEX_G  )     NMG_FREESTRUCT(p, vertex_g)
 

Definition at line 673 of file nmg.h.

Referenced by nmg_jv(), nmg_kvu(), and nmg_movevu().

#define FREE_VERTEXUSE  )     NMG_FREESTRUCT(p, vertexuse)
 

Definition at line 674 of file nmg.h.

Referenced by nmg_kvu().

#define FREE_VERTEXUSE_A_PLANE  )     NMG_FREESTRUCT(p, vertexuse_a_plane)
 

Definition at line 675 of file nmg.h.

Referenced by nmg_kvu().

#define FREE_VERTEXUSE_A_CNURB  )     NMG_FREESTRUCT(p, vertexuse_a_cnurb)
 

Definition at line 676 of file nmg.h.

Referenced by nmg_kvu().

#define NMG_ARE_EUS_ADJACENT _eu1,
_eu2   ) 
 

Value:

(  \
        ( (_eu1)->vu_p->v_p == (_eu2)->vu_p->v_p &&   \
          (_eu1)->eumate_p->vu_p->v_p == (_eu2)->eumate_p->vu_p->v_p )  ||  \
        ( (_eu1)->vu_p->v_p == (_eu2)->eumate_p->vu_p->v_p &&  \
          (_eu1)->eumate_p->vu_p->v_p == (_eu2)->vu_p->v_p ) )
Do two edgeuses share the same two vertices? If yes, eu's should be joined.

Definition at line 679 of file nmg.h.

Referenced by nmg_edge_collapse(), nmg_find_eg_between_2fg(), nmg_find_eu_leftvec(), nmg_kill_accordions(), nmg_model_edge_fuse(), nmg_radial_join_eu(), and nmg_radial_join_eu_NEW().

#define EDGESADJ _e1,
_e2   )     NMG_ARE_EUS_ADJACENT(_e1,_e2)
 

Compat: Used in nmg_misc.c and nmg_mod.c

Definition at line 686 of file nmg.h.

Referenced by nmg_kill_cracks_at_vertex().

#define PLPRINT _s,
_pl   ) 
 

Value:

bu_log("%s %gx + %gy + %gz = %g\n", (_s), \
        (_pl)[0], (_pl)[1], (_pl)[2], (_pl)[3])
Print a plane equation.

Definition at line 689 of file nmg.h.

Referenced by nmg_ck_fu_verts(), nmg_isect2d_prep(), nmg_lu_reorient(), nmg_model_face_fuse(), nmg_radial_join_eu(), and nmg_two_face_fuse().

#define NMG_FPI_FIRST   0
 

return after finding first touch

values for the "allhits" argument to mg_class_pt_fu_except()

Definition at line 694 of file nmg.h.

#define NMG_FPI_PERGEOM   1
 

find all touches, call user funcs once for each geometry element touched

Definition at line 695 of file nmg.h.

Referenced by isect_ray_planar_face().

#define NMG_FPI_PERUSE   2
 

find all touches, call user funcs once for each use of geom elements touched

Definition at line 699 of file nmg.h.

#define PREEXIST   1
 

Definition at line 716 of file nmg.h.

#define NEWEXIST   2
 

Definition at line 717 of file nmg.h.

#define VU_PREEXISTS _bs,
_vu   ) 
 

Value:

{ chkidxlist((_bs), (_vu)); \
        (_bs)->vertlist[(_vu)->index] = PREEXIST; }

Definition at line 720 of file nmg.h.

#define VU_NEW _bs,
_vu   ) 
 

Value:

{ chkidxlist((_bs), (_vu)); \
        (_bs)->vertlist[(_vu)->index] = NEWEXIST; }

Definition at line 723 of file nmg.h.

#define NMG_INDEX_VALUE _tab,
_index   )     ((_tab)[_index])
 

Definition at line 774 of file nmg.h.

Referenced by nmg_eval_action(), and nmg_shell_manifolds().

#define NMG_INDEX_TEST _tab,
_p   )     ( (_tab)[(_p)->index] )
 

Definition at line 775 of file nmg.h.

Referenced by nmg_class_pt_s(), nmg_decompose_shell(), nmg_find_top_face_in_dir(), nmg_fix_decomposed_shell_normals(), nmg_invert_shell(), nmg_reclassify_lu_eu(), and nmg_shell_coplanar_face_merge().

#define NMG_INDEX_SET _tab,
_p   )     {(_tab)[(_p)->index] = 1;}
 

Definition at line 776 of file nmg.h.

Referenced by nmg_class_pt_s(), nmg_crackshells(), nmg_fix_decomposed_shell_normals(), nmg_invert_shell(), nmg_propagate_normals(), nmg_reclassify_lu_eu(), nmg_shell_coplanar_face_merge(), and nmg_split_loops_handler().

#define NMG_INDEX_CLEAR _tab,
_p   )     {(_tab)[(_p)->index] = 0;}
 

Definition at line 777 of file nmg.h.

Referenced by nmg_reclassify_lu_eu().

#define NMG_INDEX_TEST_AND_SET _tab,
_p   )     ( (_tab)[(_p)->index] == 0 ? ((_tab)[(_p)->index] = 1) : 0 )
 

Definition at line 778 of file nmg.h.

Referenced by nmg_count_shell_kids(), nmg_extrude_shell(), nmg_hollow_shell(), nmg_move_edge_thru_pt(), nmg_propagate_normals(), nmg_split_loops_handler(), and nmg_unbreak_handler().

#define NMG_INDEX_IS_SET _tab,
_p   )     NMG_INDEX_TEST(_tab,_p)
 

Definition at line 780 of file nmg.h.

Referenced by nmg_crackshells().

#define NMG_INDEX_FIRST_TIME _tab,
_p   )     NMG_INDEX_TEST_AND_SET(_tab,_p)
 

Definition at line 781 of file nmg.h.

Referenced by nmg_rebound().

#define NMG_INDEX_ASSIGN _tab,
_p,
_val   )     {(_tab)[(_p)->index] = _val;}
 

Definition at line 782 of file nmg.h.

Referenced by isect_ray_lseg(), isect_ray_planar_face(), nmg_decompose_shell(), nmg_dup_loop(), and nmg_dup_shell().

#define NMG_INDEX_GET _tab,
_p   )     ((_tab)[(_p)->index])
 

Definition at line 783 of file nmg.h.

Referenced by nmg_decompose_shell().

#define NMG_INDEX_GETP _ty,
_tab,
_p   )     ((struct _ty *)((_tab)[(_p)->index]))
 

Definition at line 784 of file nmg.h.

Referenced by nmg_dup_loop(), nmg_dup_shell(), nmg_fix_normals(), nmg_hollow_shell(), and nmg_open_shells_connect().

#define NMG_INDEX_OR _tab,
_p,
_val   )     {(_tab)[(_p)->index] |= _val;}
 

Definition at line 785 of file nmg.h.

#define NMG_INDEX_AND _tab,
_p,
_val   )     {(_tab)[(_p)->index] &= _val;}
 

Definition at line 786 of file nmg.h.

#define NMG_INDEX_RETURN_IF_SET_ELSE_SET _tab,
_index   ) 
 

Value:

{ if( (_tab)[_index] )  return; \
          else (_tab)[_index] = 1; }

Definition at line 787 of file nmg.h.

Referenced by nmg_pl_e(), nmg_pl_eu(), nmg_pl_fu(), nmg_pl_v(), nmg_vlblock_e(), nmg_vlblock_eu(), nmg_vlblock_fu(), nmg_vlblock_lu(), and nmg_vlblock_v().

#define NMG_3MANIFOLD   16
 

Definition at line 792 of file nmg.h.

Referenced by nmg_shell_manifolds().

#define NMG_2MANIFOLD   4
 

Definition at line 793 of file nmg.h.

Referenced by nmg_dangling_face(), and nmg_shell_manifolds().

#define NMG_1MANIFOLD   2
 

Definition at line 794 of file nmg.h.

Referenced by nmg_shell_manifolds().

#define NMG_0MANIFOLD   1
 

Definition at line 795 of file nmg.h.

Referenced by nmg_shell_manifolds().

#define NMG_SET_MANIFOLD _t,
_p,
_v   )     NMG_INDEX_OR(_t, _p, _v)
 

Definition at line 800 of file nmg.h.

Referenced by nmg_shell_manifolds().

#define NMG_MANIFOLDS _t,
_p   )     NMG_INDEX_VALUE(_t, (_p)->index)
 

Definition at line 801 of file nmg.h.

Referenced by nmg_class_ray_vs_shell(), nmg_dangling_face(), and nmg_shell_manifolds().

#define NMG_CP_MANIFOLD _t,
_p,
_q   )     (_t)[(_p)->index] = (_t)[(_q)->index]
 

Definition at line 802 of file nmg.h.

Referenced by nmg_manifolds(), and nmg_shell_manifolds().

#define NMG_VLIST_STYLE_VECTOR   0
 

Definition at line 807 of file nmg.h.

#define NMG_VLIST_STYLE_POLYGON   1
 

Definition at line 808 of file nmg.h.

Referenced by nmg_lu_to_vlist().

#define NMG_VLIST_STYLE_VISUALIZE_NORMALS   2
 

Definition at line 809 of file nmg.h.

Referenced by nmg_lu_to_vlist(), and nmg_snurb_fu_to_vlist().

#define NMG_VLIST_STYLE_USE_VU_NORMALS   4
 

Definition at line 810 of file nmg.h.

Referenced by nmg_lu_to_vlist().

#define NMG_VLIST_STYLE_NO_SURFACES   8
 

Definition at line 811 of file nmg.h.

Referenced by nmg_s_to_vlist().


Generated on Mon Sep 18 01:25:45 2006 for BRL-CAD by  doxygen 1.4.6