occt: master 1511c7e9

Author Committer Branch Timestamp Parent
emv bugmaster master 2016-03-17 09:04:59 master 447c7e54
Changeset 0027270: Boolean operations: incorrect assembling of sub-shapes in container shapes (wires, shells, compsolids)

The map to protect the result of Boolean operation from duplicating parts in containers has been removed (method void BOPAlgo_BOP::BuildShape()).
The results of Boolean operations on containers will be the following:
1. For the arguments of collection type (WIRE, SHELL, COMPSOLID) containing overlapping parts the overlapping parts
passed into result will be repeated for each container from the input shapes containing such parts.
2. The result of the operation Fuse for the arguments of collection type (WIRE, SHELL, COMPSOLID) will contain
the same number of containers as the arguments. The overlapping parts (EDGES/FACES/SOLIDS) will be shared among them.
For example, the result of Fuse operation between two wires will be two wires sharing coinciding edges if any.
3. The result of the operation Common for the arguments of collection type (WIRE, SHELL, COMPSOLID) will consist
of the containers containing the same overlapping parts. For example, the result of Common operation between two
fully/partially overlapping wires will be two wires containing the same edges.

Style correction.

Added test case bugs/modalg_1/bug13538
Modified boolean test cases according to new begavior
mod - dox/user_guides/boolean_operations/boolean_operations.md Diff File
add - dox/user_guides/boolean_operations/images/boolean_image139.png Diff File
add - dox/user_guides/boolean_operations/images/boolean_image140.png Diff File
add - dox/user_guides/boolean_operations/images/boolean_image141.png Diff File
add - dox/user_guides/boolean_operations/images/boolean_image142.png Diff File
add - dox/user_guides/boolean_operations/images/boolean_image143.png Diff File
mod - src/BOPAlgo/BOPAlgo_BOP.cxx Diff File
mod - tests/boolean/bcommon_2d/F3 Diff File
mod - tests/boolean/bcommon_2d/F4 Diff File
mod - tests/boolean/bcommon_2d/F5 Diff File
mod - tests/boolean/bcommon_2d/N8 Diff File
mod - tests/boolean/bcommon_2d/N9 Diff File
mod - tests/boolean/bcommon_2d/O1 Diff File
mod - tests/boolean/bcommon_2d/O7 Diff File
mod - tests/boolean/bfuse_2d/A2 Diff File
mod - tests/boolean/bfuse_2d/A3 Diff File
mod - tests/boolean/bfuse_2d/A4 Diff File
mod - tests/boolean/bfuse_2d/B1 Diff File
mod - tests/boolean/bfuse_2d/B2 Diff File
mod - tests/boolean/bfuse_2d/B3 Diff File
mod - tests/boolean/bfuse_2d/B9 Diff File
mod - tests/boolean/bopcommon_2d/F3 Diff File
mod - tests/boolean/bopcommon_2d/F4 Diff File
mod - tests/boolean/bopcommon_2d/F5 Diff File
mod - tests/boolean/bopcommon_2d/N8 Diff File
mod - tests/boolean/bopcommon_2d/N9 Diff File
mod - tests/boolean/bopcommon_2d/O1 Diff File
mod - tests/boolean/bopcommon_2d/O7 Diff File
mod - tests/boolean/bopcommon_complex/L3 Diff File
mod - tests/boolean/bopcommon_complex/L6 Diff File
mod - tests/boolean/bopcommon_complex/L7 Diff File
mod - tests/boolean/bopcommon_complex/L8 Diff File
mod - tests/boolean/bopcommon_complex/L9 Diff File
mod - tests/boolean/bopcommon_complex/M3 Diff File
mod - tests/boolean/bopcommon_complex/M4 Diff File
mod - tests/boolean/bopcommon_complex/M5 Diff File
mod - tests/boolean/bopcommon_complex/M6 Diff File
mod - tests/boolean/bopfuse_2d/A2 Diff File
mod - tests/boolean/bopfuse_2d/A3 Diff File
mod - tests/boolean/bopfuse_2d/A4 Diff File
mod - tests/boolean/bopfuse_2d/B1 Diff File
mod - tests/boolean/bopfuse_2d/B2 Diff File
mod - tests/boolean/bopfuse_2d/B3 Diff File
mod - tests/boolean/bopfuse_2d/B9 Diff File
mod - tests/boolean/bopfuse_complex/N2 Diff File
mod - tests/boolean/bopfuse_complex/N5 Diff File
mod - tests/boolean/bopfuse_complex/N6 Diff File
mod - tests/boolean/bopfuse_complex/O1 Diff File
mod - tests/boolean/bopfuse_complex/O2 Diff File
mod - tests/boolean/bopfuse_complex/O3 Diff File
mod - tests/boolean/bopfuse_complex/O4 Diff File
mod - tests/bugs/modalg_1/bug13538 Diff File
add - tests/bugs/modalg_6/bug27270 Diff File