]> OCCT Git - occt.git/commit
Mesh - Stack overflow when meshing (#695)
authorDmitrii Kulikov <164657232+AtheneNoctuaPt@users.noreply.github.com>
Fri, 29 Aug 2025 21:49:53 +0000 (22:49 +0100)
committerGitHub <noreply@github.com>
Fri, 29 Aug 2025 21:49:53 +0000 (22:49 +0100)
commit5bd288265fb8290dafa326af2035ac627c7e1e7c
tree3f4878d34fecfbbf212117fda08c8542f1dc4171
parent51abcfc61cdab77d94dd990e5823a05287f75876
Mesh - Stack overflow when meshing (#695)

- Introduced `StackOfFrames` class to manage processing frames iteratively instead of recursively
- Modified `killTrianglesAroundVertex` method to collect victim nodes in a provided container rather than recursively processing them
- Replaced recursive depth-first traversal with iterative processing using the new stack-based approach
src/ModelingAlgorithms/TKMesh/BRepMesh/BRepMesh_Delaun.cxx
src/ModelingAlgorithms/TKMesh/BRepMesh/BRepMesh_Delaun.hxx