]> OCCT Git - occt.git/commit
0033615: Modeling Algorithms - Partition algorithm creates unexpected vertices
authorakaftasev <akaftasev@opencascade.com>
Mon, 20 May 2024 09:43:36 +0000 (10:43 +0100)
committerakaftasev <akaftasev@opencascade.com>
Mon, 20 May 2024 10:37:08 +0000 (11:37 +0100)
commit08cecf39d5cb978e6020b7546ad8728f5582b6a2
treedac5b1c21b4b1d2af0a6b3ed81e14ea8c7b30c92
parent4c8faa5e2dd0d3e4bd7039c908016d8204889c09
0033615: Modeling Algorithms - Partition algorithm creates unexpected vertices

This problem occurs because of obtaining 2 ALines which share same vertex on the seam edge.
There should be 2 different vertices with same(or almost the same) 3d parameters, but
with different UV parameters because of periodic surface.
Current fix allows to avoid the same vertices on seam edge and also checks the next vertex.
Added consideration of predicted next point to avoid skipping tha point which is not on seam edge.
Added test case for #33702
src/IntPatch/IntPatch_ALineToWLine.cxx
tests/bugs/modalg_8/bug33615 [new file with mode: 0644]
tests/bugs/modalg_8/bug33702 [new file with mode: 0644]
tests/lowalgos/intss/bug29807_i1002
tests/lowalgos/intss/bug29807_i5002