]> OCCT Git - occt.git/commit
0033615: Modeling Algorithms - Partition algorithm creates unexpected vertices
authorakaftase <168822067+akaftase@users.noreply.github.com>
Sun, 7 Jul 2024 18:54:35 +0000 (19:54 +0100)
committerPasukhin Dmitry <44947322+dpasukhi@users.noreply.github.com>
Mon, 8 Jul 2024 15:28:00 +0000 (17:28 +0200)
commit5811a330c784c49e64c65fdaa88d01bff444da56
tree8d091c3eb9de4e59a0350bbdd350920762c78dc5
parent818c68f22ea75a7919df8ea4c1ffa46e7ba05b6b
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