Skip to content

Commit

Permalink
#123 Make it possible to add non-boundary edges by inserting such edg…
Browse files Browse the repository at this point in the history
…es twice into the triangulation
  • Loading branch information
artem-ogre committed Feb 24, 2023
1 parent 4d0c902 commit 6d69eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CDT/include/Triangulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ Triangulation<T, TNearPointLocator>::peelLayer(
{
const TriInd iT = seeds.top();
seeds.pop();
triDepths[iT] = layerDepth;
triDepths[iT] = std::min(triDepths[iT], layerDepth);
behindBoundary.erase(iT);
const Triangle& t = triangles[iT];
for(Index i(0); i < Index(3); ++i)
Expand Down

0 comments on commit 6d69eb5

Please sign in to comment.