]> OCCT Git - occt.git/commit
0030522: Modeling Algorithms - BRepBuilderAPI_MakeWire produces different wires depen... IR-2019-03-22
authoremv <emv@opencascade.com>
Tue, 26 Feb 2019 11:06:30 +0000 (14:06 +0300)
committerapn <apn@opencascade.com>
Fri, 22 Mar 2019 14:21:01 +0000 (17:21 +0300)
commitd84b49c7433d2b8e5a6e636044b1f0d1c2eaf37f
treeb6fe19cb80e33541b3979f31b9f5ef88a3e51bb6
parentaff73fd5982f248ec430867ff9a18b7a8b482391
0030522: Modeling Algorithms - BRepBuilderAPI_MakeWire produces different wires depending on the order of parameters

The following improvements have been implemented in BRepLib_MakeWire class to make it more reliable:
1. Quit adding edges of a wire into result if the current edges have not been added. Return NotDone status.
2. Allow merging not only bounding vertices (connected to only one edge) but also the middle ones, so the multi-connected vertices may appear in the result.

Test case for the issue.
src/BRepLib/BRepLib_MakeWire.cxx
src/BRepLib/BRepLib_MakeWire.hxx
src/BRepLib/BRepLib_MakeWire_1.cxx
tests/bugs/modalg_7/bug30522 [new file with mode: 0644]