Revision: 74179
http://sourceforge.net/p/brlcad/code/74179
Author: starseeker
Date: 2019-10-18 18:20:50 +0000 (Fri, 18 Oct 2019)
Log Message:
-----------
OK, the original test was what I wanted to do - the consequences of splitting
individual triangles just aren't helpful. Definitely need better logic for
that...
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt_ovlps.cpp
Modified: brlcad/trunk/src/libbrep/cdt_ovlps.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_ovlps.cpp 2019-10-18 18:03:18 UTC (rev
74178)
+++ brlcad/trunk/src/libbrep/cdt_ovlps.cpp 2019-10-18 18:20:50 UTC (rev
74179)
@@ -1489,8 +1489,8 @@
// TODO - this is backwards of what I would
expect, but the other way
// increases the overlapping triangles... did I
flip the test somehow?
// Need to print out some point sets...
- if (!pinside) {
- std::cout << "test point outside\n";
+ if (pinside) {
+ std::cout << "test point inside\n";
//std::cout << "face " << fmesh1->f_id << "
new interior point from face " << fmesh2->f_id << ": " << tp.x << "," << tp.y
<< "," << tp.z << "\n";
struct p_mvert_info *np = new struct
p_mvert_info;
np->s_cdt = s_cdt1;
@@ -1509,7 +1509,7 @@
(*face_npnts)[fmesh1].insert(np);
added_verts[fmesh1].insert(std::make_pair(fmesh2, t2.v[i]));
} else {
- std::cout << "test point inside\n";
+ std::cout << "test point outside\n";
}
}
}
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