0029692: Add functionality to make the group of touching same-dimensional shapes...
authoremv <emv@opencascade.com>
Thu, 12 Apr 2018 13:22:34 +0000 (16:22 +0300)
committerapn <apn@opencascade.com>
Fri, 7 Dec 2018 15:49:58 +0000 (18:49 +0300)
commit0c09fd3c6f7697c11b8b7b5f2ccbd7f6d98e957e
treeb6f94deb50acea8f69c8980cc29bfd5160a4af8d
parent53a73fc1d14a589bafb85881fe970b370246e0b3
0029692: Add functionality to make the group of touching same-dimensional shapes connected

Implementation of the new class *BOPAlgo_MakeConnected* for making the group of touching same-dimensional shapes connected.
Provide the material association for the first sub-elements of the input shapes.
Provide possibility to make the connected shape periodic.

Draw commands for new algorithm:
* makeconnected - make the input shapes connected or glued, performs material associations;
* cmaterialson - returns the materials located on the requested side of a shape;
* cmakeperiodic - makes the connected shape periodic in requested directions;
* crepeatshape - repeats the periodic connected shape in requested directions requested number of times;
* cperiodictwins - returns all periodic twins for the shape;
* cclearrepetitions - clears all previous repetitions of the periodic shape, keeping the shape periodic.

Documentation & test cases for the new algorithm.
19 files changed:
dox/user_guides/draw_test_harness/draw_test_harness.md
dox/user_guides/modeling_algos/modeling_algos.md
src/BOPAlgo/BOPAlgo.msg
src/BOPAlgo/BOPAlgo_Alerts.hxx
src/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx
src/BOPAlgo/BOPAlgo_MakeConnected.cxx [new file with mode: 0644]
src/BOPAlgo/BOPAlgo_MakeConnected.hxx [new file with mode: 0644]
src/BOPAlgo/FILES
src/BOPTest/BOPTest.cxx
src/BOPTest/BOPTest.hxx
src/BOPTest/BOPTest_MkConnectedCommands.cxx [new file with mode: 0644]
src/BOPTest/BOPTest_PeriodicityCommands.cxx
src/BOPTest/FILES
tests/boolean/grids.list
tests/boolean/mkconnected/A1 [new file with mode: 0644]
tests/boolean/mkconnected/A2 [new file with mode: 0644]
tests/boolean/mkconnected/A3 [new file with mode: 0644]
tests/boolean/mkconnected/A4 [new file with mode: 0644]
tests/boolean/mkconnected/A5 [new file with mode: 0644]