Revision: 45571
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45571&view=rev
Author:   r_weiss
Date:     2011-07-22 00:04:38 +0000 (Fri, 22 Jul 2011)

Log Message:
-----------
Updated function class_eu_vs_s within file nmg_class.c. This change supports 
the prototype version of nmg_triangulate_fu. Made a logic change which stops 
the error message "class_eu_vs_s:  classifier found edge midpoint ON, edge 
topology should have been shared" when performing nmg boolean operations such 
as when running the mged 'facetize' or 'ev' commands. This change is disabled 
by default. This is a work in progress.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/nmg/nmg_class.c

Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_class.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_class.c   2011-07-21 23:56:21 UTC 
(rev 45570)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_class.c   2011-07-22 00:04:38 UTC 
(rev 45571)
@@ -1074,6 +1074,13 @@
            NMG_INDEX_SET(classlist[NMG_CLASS_AinB], eu->e_p);
            status = INSIDE;
        } else if (class == NMG_CLASS_AonBshared) {
+#ifdef TRI_PROTOTYPE
+           NMG_INDEX_SET(classlist[NMG_CLASS_AonBshared], eu->e_p);
+           status = ON_SURF;
+       } else if (class == NMG_CLASS_AonBanti) {
+           NMG_INDEX_SET(classlist[NMG_CLASS_AonBanti], eu->e_p);
+           status = ON_SURF;
+#else
            FILE *fp;
            nmg_pr_fu_around_eu(eu, tol);
            VPRINT("class_eu_vs_s: midpoint of edge", pt);
@@ -1090,6 +1097,7 @@
                bu_log("wrote shell2.pl\n");
            }
            bu_bomb("class_eu_vs_s:  classifier found edge midpoint ON, edge 
topology should have been shared\n");
+#endif
        } else {
            bu_log("class=%s\n", nmg_class_name(class));
            nmg_euprint("Why wasn't this edge in or out?", eu);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to