Revision: 73042
http://sourceforge.net/p/brlcad/code/73042
Author: starseeker
Date: 2019-05-10 20:55:14 +0000 (Fri, 10 May 2019)
Log Message:
-----------
Try using within_dist for this threshold
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt.cpp
Modified: brlcad/trunk/src/libbrep/cdt.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt.cpp 2019-05-10 18:18:19 UTC (rev 73041)
+++ brlcad/trunk/src/libbrep/cdt.cpp 2019-05-10 20:55:14 UTC (rev 73042)
@@ -995,11 +995,11 @@
double est4 = vline_len_est(sinfo, u2, v1, v2);
//bu_log("(min: %f) est1, est2, est3, est4: %f, %f, %f, %f\n", min_dist,
est1, est2, est3, est4);
- if (est1 < 0.5 && est2 < 0.5) {
+ if (est1 < 0.5*within_dist && est2 < 0.5*within_dist) {
//bu_log("Small estimates: %f, %f\n", est1, est2);
return;
}
- if (est3 < 0.5 && est4 < 0.5) {
+ if (est3 < 0.5*within_dist && est4 < 0.5*within_dist) {
//bu_log("Small estimates: %f, %f\n", est3, est4);
return;
}
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