Revision: 73953
http://sourceforge.net/p/brlcad/code/73953
Author: starseeker
Date: 2019-09-18 15:11:05 +0000 (Wed, 18 Sep 2019)
Log Message:
-----------
Saw what appears to be a case where this flipping was incorrect, and I think
the case it was originally intended for is being avoided by the logic keeping
surface points away from edges.
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt_mesh.cpp
Modified: brlcad/trunk/src/libbrep/cdt_mesh.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_mesh.cpp 2019-09-18 12:40:04 UTC (rev
73952)
+++ brlcad/trunk/src/libbrep/cdt_mesh.cpp 2019-09-18 15:11:05 UTC (rev
73953)
@@ -1733,6 +1733,10 @@
cdt_mesh::triangle_t tri;
std::set<size_t> flip_tris;
+ // TODO - just flipping these edge triangles may introduce edge problems -
now that
+ // we're keeping points away from the edges, see if we can just handle all
flipped
+ // faces through the repair logic.
+#if 0
tris_tree.GetFirst(tree_it);
while (!tree_it.IsNull()) {
t_ind = *tree_it;
@@ -1763,6 +1767,7 @@
if (flip_tris.size()) {
update_problem_edges();
}
+#endif
std::vector<triangle_t> results;
tris_tree.GetFirst(tree_it);
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