From 359e6faf4a181cbffa6524bff01b5367f3e12e90 Mon Sep 17 00:00:00 2001 From: Alan <37482427+alemon-aquaveo@users.noreply.github.com> Date: Wed, 3 Jul 2024 16:02:50 -0600 Subject: [PATCH] -rebuild the adjacent triangles after removing points and triangles --- xmsgrid/triangulate/detail/TrAutoFixFourTrianglePts.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xmsgrid/triangulate/detail/TrAutoFixFourTrianglePts.cpp b/xmsgrid/triangulate/detail/TrAutoFixFourTrianglePts.cpp index e04135ef..27b72f72 100644 --- a/xmsgrid/triangulate/detail/TrAutoFixFourTrianglePts.cpp +++ b/xmsgrid/triangulate/detail/TrAutoFixFourTrianglePts.cpp @@ -119,6 +119,7 @@ void TrAutoFixFourTrianglePtsImpl::Fix(BSHP a_tin) RenumberTris(); RemovePts(); RemoveTris(); + m_tin->BuildTrisAdjToPts(); } // TrOuterTriangleDeleterImpl::Fix //------------------------------------------------------------------------------ /// \brief Finds and removes the points connected to 4 triangles