]> OCCT Git - occt-copy.git/commit
0027082: UnifySameDomain must add internal edges where appropriate to resolve self...
authormsv <msv@opencascade.com>
Tue, 22 Mar 2016 12:23:00 +0000 (15:23 +0300)
committermsv <msv@opencascade.com>
Fri, 22 Apr 2016 12:48:15 +0000 (15:48 +0300)
commitfee8654f24d78765b32c9a4b2ec96eab68f02fd0
tree4ab4deed7e3651742a36e6b3347ff01c44806a0c
parent528c3def7ebda15749d25a532c1b1a8263889e4d
0027082: UnifySameDomain must add internal edges where appropriate to resolve self-intersections

The new option AllowInternalEdges has been added in the class ShapeUpgrade_UnifySameDomain. It determines how the algorithm treats the situation when two faces can be merged together but they have connection with another face via the common edge.

With this option turned on, merging of such faces is not stopped, but the multiconnected edges are added to the merged face as INTERNAL edges.

By default it is false. In this mode such merging is forbidden, so the result shape will not contain any new INTERNAL edges.

The behavior of the algorithm has been changed so that it does not merge faces from different shells.

0027309: Result of UnifySameDomain has InvalidMultiConnexity error

The update of the set of boundary edges has been added for the case when faces containing milti-connected edges are excluded from merging.
samples/tcl/snowflake.tcl
src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cdl
src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
tests/bugs/modalg_6/bug27082_1 [new file with mode: 0644]
tests/bugs/modalg_6/bug27082_1i [new file with mode: 0644]
tests/bugs/modalg_6/bug27082_2 [new file with mode: 0644]
tests/bugs/modalg_6/bug27082_2i [new file with mode: 0644]
tests/bugs/modalg_6/bug27082_3 [new file with mode: 0644]
tests/bugs/modalg_6/bug27082_3i [new file with mode: 0644]
tests/bugs/modalg_6/bug27309 [new file with mode: 0644]