Revision: 55888
          http://sourceforge.net/p/brlcad/code/55888
Author:   phoenixyjll
Date:     2013-06-28 06:48:31 +0000 (Fri, 28 Jun 2013)
Log Message:
-----------
Used a wrong curve in point-curve intersection to test overlap.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/intersect.cpp

Modified: brlcad/trunk/src/libbrep/intersect.cpp
===================================================================
--- brlcad/trunk/src/libbrep/intersect.cpp      2013-06-28 06:43:56 UTC (rev 
55887)
+++ brlcad/trunk/src/libbrep/intersect.cpp      2013-06-28 06:48:31 UTC (rev 
55888)
@@ -751,7 +751,7 @@
                        ON_3dPoint test_point = curveA->PointAt(t_a1 + 
(t_a2-t_a1)*j*strike);
                        ON_ClassArray<ON_PX_EVENT> pci_x;
                        // Use point-curve intersection
-                       if (!ON_Intersect(test_point, *curveA, pci_x, 
overlap_tolerance))
+                       if (!ON_Intersect(test_point, *curveB, pci_x, 
overlap_tolerance))
                            break;
                    }
                    if (j == CCI_OVERLAP_TEST_POINTS) {

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to