Revision: 55996
          http://sourceforge.net/p/brlcad/code/55996
Author:   phoenixyjll
Date:     2013-07-10 06:09:21 +0000 (Wed, 10 Jul 2013)
Log Message:
-----------
2D points should be plotted after evaluation.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp

Modified: brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp       2013-07-10 
06:04:58 UTC (rev 55995)
+++ brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp       2013-07-10 
06:09:21 UTC (rev 55996)
@@ -748,7 +748,7 @@
 
 
 void
-plotpoint(ON_3dPoint &point, struct bn_vlblock *vbp, const int red = 255, 
const int green = 255, const int blue = 0)
+plotpoint(const ON_3dPoint &point, struct bn_vlblock *vbp, const int red = 
255, const int green = 255, const int blue = 0)
 {
     register struct bu_list *vhead;
     vhead = rt_vlblock_find(vbp, red, green, blue);
@@ -3022,8 +3022,8 @@
            break;
        case ON_SSX_EVENT::ssx_tangent_point:
        case ON_SSX_EVENT::ssx_transverse_point:
-           plotpoint(events[k].m_pointA, vbp, PEACH);
-           plotpoint(events[k].m_pointB, vbp, DARKVIOLET);
+           plotpoint(surf1.PointAt(events[k].m_pointA.x, 
events[k].m_pointB.y), vbp, PEACH);
+           plotpoint(surf2.PointAt(events[k].m_pointB.x, 
events[k].m_pointB.y), vbp, DARKVIOLET);
            plotpoint(events[k].m_point3d, vbp, GREEN);
            break;
        default:

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


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to