occt: master fe1a6e4e

Author Committer Branch Timestamp Parent
msv bugmaster master 2016-03-22 12:23:00 master 6220ba10
Changeset 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.
mod - samples/tcl/snowflake.tcl Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeUpgrade.cxx Diff File
add - tests/bugs/modalg_6/bug27082_1 Diff File
add - tests/bugs/modalg_6/bug27082_1i Diff File
add - tests/bugs/modalg_6/bug27082_2 Diff File
add - tests/bugs/modalg_6/bug27082_2i Diff File
add - tests/bugs/modalg_6/bug27082_3 Diff File
add - tests/bugs/modalg_6/bug27082_3i Diff File