Revision: 73885
http://sourceforge.net/p/brlcad/code/73885
Author: starseeker
Date: 2019-09-10 20:44:39 +0000 (Tue, 10 Sep 2019)
Log Message:
-----------
Not sure if it's practical or advisable, but note a possible strategy for trim
surface point insertion...
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt_surf.cpp
Modified: brlcad/trunk/src/libbrep/cdt_surf.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_surf.cpp 2019-09-10 20:31:53 UTC (rev
73884)
+++ brlcad/trunk/src/libbrep/cdt_surf.cpp 2019-09-10 20:44:39 UTC (rev
73885)
@@ -639,7 +639,12 @@
// Do the search
size_t tcnt = sinfo->rtree_2d->Search(p1, p2, NULL, NULL);
- if (tcnt) {
+ //TODO - a thought. Could we insert points at the midpoint of
+ //each trim bbox edge inside the surface to guarantee a "suitable"
+ //point on the surface? Would need to avoid too-close points from
+ //the main build of the surface, but that might be one way to
+ //get the points where we need them...
+ if (tcnt > 2) {
// We have trims involved.
split_u = 1;
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