[brlcad-commits] SF.net SVN: brlcad:[34999] brlcad/trunk/src/librt/primitives/nmg/nmg_mod.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2009-07-08 13:06:56
|
Revision: 34999 http://brlcad.svn.sourceforge.net/brlcad/?rev=34999&view=rev Author: brlcad Date: 2009-07-08 13:06:54 +0000 (Wed, 08 Jul 2009) Log Message: ----------- couple more stragglers missed Modified Paths: -------------- brlcad/trunk/src/librt/primitives/nmg/nmg_mod.c Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_mod.c =================================================================== --- brlcad/trunk/src/librt/primitives/nmg/nmg_mod.c 2009-07-08 13:01:48 UTC (rev 34998) +++ brlcad/trunk/src/librt/primitives/nmg/nmg_mod.c 2009-07-08 13:06:54 UTC (rev 34999) @@ -72,12 +72,14 @@ nmg_rebound(m, tol); } + /************************************************************************ * * * SHELL Routines * * * ************************************************************************/ + /** * N M G _ S H E L L _ C O P L A N A R _ F A C E _ M E R G E * @@ -211,6 +213,7 @@ } } + /** * N M G _ S I M P L I F Y _ S H E L L * @@ -246,6 +249,7 @@ return(ret_val); } + /** * N M G _ R M _ R E D U N D A N C I E S * @@ -600,6 +604,7 @@ } } + /** * N M G _ S A N I T I Z E _ S _ L V * @@ -681,6 +686,7 @@ } } + /** * N M G _ S _ S P L I T _ T O U C H I N G L O O P S * @@ -964,12 +970,14 @@ bu_free(tags, "nmg_invert_shell() tags[]"); } + /************************************************************************ * * * FACE Routines * * * ************************************************************************/ + /** * N M G _ C M F A C E * @@ -1763,11 +1771,6 @@ if (sbefore->up.lu_p->up.fu_p->orientation == OT_SAME) continue; -#if 0 - bu_log("sbefore eu=x%x, before=x%x, eu=x%x, eumate=x%x, after=x%x\n", - sbefore, before, eu, eumate, after); - nmg_pr_fu_around_eu(eu, tol); -#endif /* * Rearrange order to be: before, eumate, eu, after. * NOTE: do NOT use sbefore here. @@ -1782,14 +1785,6 @@ bu_log("nmg_face_fix_radial_parity() exchanging eu=x%x & eumate=x%x on edge x%x\n", eu, eumate, eu->e_p); } -#if 0 - /* Can't do this incrementally, it blows up after 1st "fix" */ - if (rt_g.NMG_debug) { - nmg_pr_fu_around_eu(eu, tol); - if (nmg_check_radial(eu, tol)) - bu_bomb("nmg_face_fix_radial_parity(): nmg_check_radial failed\n"); - } -#endif } } @@ -2043,6 +2038,7 @@ * * ************************************************************************/ + /** * N M G _ J L * @@ -2243,6 +2239,7 @@ /* XXX These should be included in nmg_join_2loops, or be called by it */ + /** * N M G _ J O I N _ S I N G V U _ L O O P * @@ -2343,7 +2340,8 @@ } -/** N M G _ C U T _ L O O P +/** + * N M G _ C U T _ L O O P * * Divide a loop of edges between two vertexuses. * @@ -2888,11 +2886,7 @@ tlu = teu->up.lu_p; NMG_CK_LOOPUSE(tlu); if (tlu == lu) { -/* We touch ourselves at another vu? */ -#if 0 - bu_log("INFO: nmg_join_touchingloops() lu=x%x touches itself at vu1=x%x, vu2=x%x, skipping\n", - lu, vu, tvu); -#endif + /* We touch ourselves at another vu? */ continue; } if (*tlu->up.magic_p != NMG_FACEUSE_MAGIC) continue; @@ -2916,12 +2910,14 @@ return count; } + /* jaunt status flags used in the jaunt_status array */ #define JS_UNKNOWN 0 #define JS_SPLIT 1 #define JS_JAUNT 2 #define JS_TOUCHING_JAUNT 3 + /** * N M G _ G E T _ T O U C H I N G _ J A U N T S * @@ -5091,6 +5087,7 @@ * * ************************************************************************/ + /** * N M G _ M V _ V U _ B E T W E E N _ S H E L L S * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |