Revision: 73809
          http://sourceforge.net/p/brlcad/code/73809
Author:   starseeker
Date:     2019-08-31 19:29:27 +0000 (Sat, 31 Aug 2019)
Log Message:
-----------
notes

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

Modified: brlcad/trunk/src/libbrep/cdt_surf2.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_surf2.cpp      2019-08-31 19:19:20 UTC (rev 
73808)
+++ brlcad/trunk/src/libbrep/cdt_surf2.cpp      2019-08-31 19:29:27 UTC (rev 
73809)
@@ -371,6 +371,9 @@
 void
 filter_surface_edge_pnts_2(struct cdt_surf_info_2 *sinfo)
 {
+
+    // Points on 
+    
     // TODO - it's looking like a 2D check isn't going to be enough - we 
probably
     // need BOTH a 2D and a 3D check to make sure none of the points are in a
     // position that will cause trouble.  Will need to build a 3D RTree of the 
line
@@ -399,7 +402,19 @@
        sinfo->on_surf_points.erase((ON_2dPoint *)p);
     }
 
+    // Next check the face loops with the point in polygon test.  If it's
+    // outside the outer loop or inside one of the interior trimming loops,
+    // it's out.  For the inner loops, check the bbox of the loop first to see
+    // if we need to care... in theory we probably should be using an RTree of
+    // the loops to filter this, but I'm guessing that might be premature
+    // optimization at this point...  Could combine with the above and have one
+    // rtree per loop rather than one per face, and "zero in" for testing per
+    // loop as needed.  The tree hierarchy might be worth doing anyway, as
+    // those trees may be needed for overlap detection of edge polycurves
+    // between breps...
 
+
+
     // TODO - In addition to removing points on the line in 2D, we don't want 
points that
     // would be outside the edge polygon in projection. Find the "close" trims 
(if any)
     // for the candidate 3D point, then use the normals of the Brep edge 
points and

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