Revision: 45879
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45879&view=rev
Author:   brlcad
Date:     2011-08-10 05:21:36 +0000 (Wed, 10 Aug 2011)

Log Message:
-----------
remove debugging print statements, noisy

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/ehy/ehy_brep.cpp
    brlcad/trunk/src/librt/primitives/epa/epa_brep.cpp
    brlcad/trunk/src/librt/primitives/hyp/hyp_brep.cpp
    brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp
    brlcad/trunk/src/librt/primitives/rpc/rpc_brep.cpp

Modified: brlcad/trunk/src/librt/primitives/ehy/ehy_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/ehy/ehy_brep.cpp  2011-08-10 05:00:22 UTC 
(rev 45878)
+++ brlcad/trunk/src/librt/primitives/ehy/ehy_brep.cpp  2011-08-10 05:21:36 UTC 
(rev 45879)
@@ -42,9 +42,6 @@
     eip = (struct rt_ehy_internal *)ip->idb_ptr;
     RT_EHY_CK_MAGIC(eip);
 
-    ON_TextLog dump_to_stdout;
-    ON_TextLog* dump = &dump_to_stdout;
-
     point_t p1_origin;
     ON_3dPoint plane1_origin, plane2_origin;
     ON_3dVector plane_x_dir, plane_y_dir;
@@ -122,8 +119,6 @@
     const ON_Interval subinterval = ON_Interval(0, 0.5);
     tnurbscurve->GetNurbForm(*hypbnurbscurve, 0.0, &subinterval);
 
-    hypbnurbscurve->Dump(*dump);
-
     // Next, rotate that curve around the height vector.
 
     point_t revpoint1, revpoint2;
@@ -141,7 +136,6 @@
     // Get the NURBS form of the surface
     ON_NurbsSurface *ehycurvedsurf = ON_NurbsSurface::New();
     hyp_surf->GetNurbForm(*ehycurvedsurf, 0.0);
-    ehycurvedsurf->Dump(*dump);
 
     // Last but not least, scale the control points of the
     // resulting surface to map to the shorter axis.
@@ -157,16 +151,11 @@
        }
     }
 
-
-    bu_log("Valid nurbs surface: %d\n", ehycurvedsurf->IsValid(dump));
-    ehycurvedsurf->Dump(*dump);
-
     (*b)->m_S.Append(ehycurvedsurf);
     int surfindex = (*b)->m_S.Count();
     ON_BrepFace& face = (*b)->NewFace(surfindex - 1);
     int faceindex = (*b)->m_F.Count();
     (*b)->NewOuterLoop(faceindex-1);
-    bu_log("Valid brep face: %d\n", face.IsValid(dump));
 }
 
 

Modified: brlcad/trunk/src/librt/primitives/epa/epa_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/epa/epa_brep.cpp  2011-08-10 05:00:22 UTC 
(rev 45878)
+++ brlcad/trunk/src/librt/primitives/epa/epa_brep.cpp  2011-08-10 05:21:36 UTC 
(rev 45879)
@@ -42,9 +42,6 @@
     eip = (struct rt_epa_internal *)ip->idb_ptr;
     RT_EPA_CK_MAGIC(eip);
 
-    ON_TextLog dump_to_stdout;
-    ON_TextLog* dump = &dump_to_stdout;
-
     point_t p1_origin;
     ON_3dPoint plane1_origin, plane2_origin;
     ON_3dVector plane_x_dir, plane_y_dir;
@@ -175,9 +172,6 @@
     ON_4dPoint pt27 = ON_4dPoint(0, r2, 0, 1);
     epacurvedsurf->SetCV(8, 2, pt27);
 
-    bu_log("Valid nurbs surface: %d\n", epacurvedsurf->IsValid(dump));
-    epacurvedsurf->Dump(*dump);
-
     (*b)->m_S.Append(epacurvedsurf);
     int surfindex = (*b)->m_S.Count();
     (*b)->NewFace(surfindex - 1);

Modified: brlcad/trunk/src/librt/primitives/hyp/hyp_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/hyp/hyp_brep.cpp  2011-08-10 05:00:22 UTC 
(rev 45878)
+++ brlcad/trunk/src/librt/primitives/hyp/hyp_brep.cpp  2011-08-10 05:21:36 UTC 
(rev 45879)
@@ -133,10 +133,6 @@
     VSET(ep2, -MX, 0, 0);
     VSET(ep3, -eip->hyp_b, 0, -0.5*MAGNITUDE(eip->hyp_Hi));
 
-    bu_log("pt1: %f, %f, %f\n", ep1[0], ep1[1], ep1[2]);
-    bu_log("pt2: %f, %f, %f\n", ep2[0], ep2[1], ep2[2]);
-    bu_log("pt3: %f, %f, %f\n", ep3[0], ep3[1], ep3[2]);
-
     ON_3dPoint onp1 = ON_3dPoint(ep1);
     ON_3dPoint onp2 = ON_3dPoint(ep2);
     ON_3dPoint onp3 = ON_3dPoint(ep3);

Modified: brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp  2011-08-10 05:00:22 UTC 
(rev 45878)
+++ brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp  2011-08-10 05:21:36 UTC 
(rev 45879)
@@ -42,9 +42,6 @@
     eip = (struct rt_rhc_internal *)ip->idb_ptr;
     RT_RHC_CK_MAGIC(eip);
 
-    ON_TextLog dump_to_stdout;
-    ON_TextLog* dump = &dump_to_stdout;
-
     point_t p1_origin;
     ON_3dPoint plane1_origin, plane2_origin;
     ON_3dVector plane_x_dir, plane_y_dir;
@@ -76,12 +73,10 @@
     double intercept_calc = (eip->rhc_c)*(eip->rhc_c)/(MAGNITUDE(eip->rhc_B) + 
eip->rhc_c);
     double intercept_dist = MAGNITUDE(eip->rhc_B) + eip->rhc_c - 
intercept_calc;
     double intercept_length = intercept_dist - MAGNITUDE(eip->rhc_B);
-    bu_log("intercept_dist: %f\n", intercept_dist);
-    bu_log("intercept_length: %f\n", intercept_length);
+
     double MX = MAGNITUDE(eip->rhc_B);
     double MP = MX + intercept_length;
     double w1 = (MX/MP)/(1-MX/MP);
-    bu_log("weight: %f\n", w1);
 
     VMOVE(tmppt, eip->rhc_B);
     VUNITIZE(tmppt);
@@ -104,9 +99,6 @@
 
     bcurve->GetNurbForm(*hypnurbscurve);
 
-    bu_log("Valid nurbs curve: %d\n", hypnurbscurve->IsValid(dump));
-    hypnurbscurve->Dump(*dump);
-
     // Also need a staight line from the beginning to the end to
     // complete the loop.
 

Modified: brlcad/trunk/src/librt/primitives/rpc/rpc_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/rpc/rpc_brep.cpp  2011-08-10 05:00:22 UTC 
(rev 45878)
+++ brlcad/trunk/src/librt/primitives/rpc/rpc_brep.cpp  2011-08-10 05:21:36 UTC 
(rev 45879)
@@ -42,9 +42,6 @@
     eip = (struct rt_rpc_internal *)ip->idb_ptr;
     RT_RPC_CK_MAGIC(eip);
 
-    ON_TextLog dump_to_stdout;
-    ON_TextLog* dump = &dump_to_stdout;
-
     point_t p1_origin;
     ON_3dPoint plane1_origin, plane2_origin;
     ON_3dVector plane_x_dir, plane_y_dir;
@@ -86,15 +83,11 @@
     parabnurbscurve->SetCV(0, ON_3dPoint(ep1));
     parabnurbscurve->SetCV(1, ON_3dPoint(ep2));
     parabnurbscurve->SetCV(2, ON_3dPoint(ep3));
-    bu_log("Valid nurbs curve: %d\n", parabnurbscurve->IsValid(dump));
-    parabnurbscurve->Dump(*dump);
 
     // Also need a staight line from the beginning to the end to
     // complete the loop.
 
     ON_LineCurve* straightedge = new ON_LineCurve(onp3, onp1);
-    bu_log("Valid curve: %d\n", straightedge->IsValid(dump));
-    straightedge->Dump(*dump);
 
     // Generate the bottom cap
     ON_SimpleArray<ON_Curve*> boundary;


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

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to