Revision: 73954
          http://sourceforge.net/p/brlcad/code/73954
Author:   starseeker
Date:     2019-09-18 15:23:49 +0000 (Wed, 18 Sep 2019)
Log Message:
-----------
Turn off the more verbose of the debugging plots.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/cdt.cpp
    brlcad/trunk/src/libbrep/cdt_edge.cpp
    brlcad/trunk/src/libbrep/cdt_surf.cpp

Modified: brlcad/trunk/src/libbrep/cdt.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt.cpp    2019-09-18 15:11:05 UTC (rev 73953)
+++ brlcad/trunk/src/libbrep/cdt.cpp    2019-09-18 15:23:49 UTC (rev 73954)
@@ -214,7 +214,11 @@
     fmesh->brep = s_cdt->brep;
     fmesh->f_id = face.m_face_index;
     fmesh->m_bRev = face.m_bRev;
-    if (fmesh->cdt()) {
+
+    if (!fmesh->cdt()) {
+       return false;
+    } else {
+#if 0
        struct bu_vls fname = BU_VLS_INIT_ZERO;
        bu_vls_sprintf(&fname, "%d-tris.plot3", face.m_face_index);
        fmesh->tris_plot(bu_vls_cstr(&fname));
@@ -221,8 +225,7 @@
        bu_vls_sprintf(&fname, "%d-tris_2d.plot3", face.m_face_index);
        fmesh->tris_plot_2d(bu_vls_cstr(&fname));
        bu_vls_free(&fname);
-    } else {
-       return false;
+#endif
     }
 
     // List singularities
@@ -572,7 +575,7 @@
        // Rebuild finalized 2D RTrees for faces (needed for surface processing)
        finalize_rtrees(s_cdt);
 
-#if 1
+#if 0
        for (int index = 0; index < brep->m_F.Count(); index++) {
            struct bu_vls fname = BU_VLS_INIT_ZERO;
            bu_vls_sprintf(&fname, "%d-rtree_outer_polygon_2d.plot3", index);

Modified: brlcad/trunk/src/libbrep/cdt_edge.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_edge.cpp       2019-09-18 15:11:05 UTC (rev 
73953)
+++ brlcad/trunk/src/libbrep/cdt_edge.cpp       2019-09-18 15:23:49 UTC (rev 
73954)
@@ -380,7 +380,7 @@
     struct rtree_minsplit_context *context= (struct rtree_minsplit_context 
*)a_context;
 
 
-    plot_ce_bbox(context->s_cdt, tseg, "l.p3");
+    //plot_ce_bbox(context->s_cdt, tseg, "l.p3");
 
     // Intersecting with oneself isn't cause for splitting
     if (tseg == context->cseg || tseg == context->cseg->prev || tseg == 
context->cseg->next) return true;
@@ -1691,7 +1691,7 @@
                tMax[0] = bb.Max().x;
                tMax[1] = bb.Max().y;
 
-               plot_ce_bbox(s_cdt, tseg, "c.p3");
+               //plot_ce_bbox(s_cdt, tseg, "c.p3");
 
                // Edge context info
                struct rtree_minsplit_context a_context;

Modified: brlcad/trunk/src/libbrep/cdt_surf.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_surf.cpp       2019-09-18 15:11:05 UTC (rev 
73953)
+++ brlcad/trunk/src/libbrep/cdt_surf.cpp       2019-09-18 15:23:49 UTC (rev 
73954)
@@ -577,7 +577,7 @@
        sinfo->rtree_trim_spnts_2d.Insert(tMin, tMax, (void *)tseg);
 
     }
-#if 1
+#if 0
     struct bu_vls fname = BU_VLS_INIT_ZERO;
     bu_vls_sprintf(&fname, "%d-rtree_2d_trim_pnts.plot3", 
sinfo->f->m_face_index);
     plot_rtree_2d2(sinfo->rtree_trim_spnts_2d, bu_vls_cstr(&fname));
@@ -717,7 +717,7 @@
     fastf_t u = (u1 + u2) / 2.0;
     fastf_t v = (v1 + v2) / 2.0;
 
-    sp.plot("spatch.p3");
+    //sp.plot("spatch.p3");
 
     double est1 = uline_len_est(sinfo, u1, u2, v1);
     double est2 = uline_len_est(sinfo, u1, u2, v2);

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to