]> OCCT Git - occt-copy.git/commit
0029363: No history for shapes which were produced as a result of intersection V7_2_0p2
authoremv <emv@opencascade.com>
Tue, 12 Dec 2017 12:10:37 +0000 (15:10 +0300)
committerrnv <rnv@opencascade.com>
Tue, 6 Mar 2018 15:53:13 +0000 (18:53 +0300)
commit90850b69d3a286e246c0a225a722a308c721a671
tree48af5b57f4960c2b00ecc05e85cac97805cc4c29
parenta5e75cb9c508844d9b4e402f1064941a971ee681
0029363: No history for shapes which were produced as a result of intersection

1. Implementation of the *Generated* method for the algorithms in Boolean Component.
In terms of these algorithms the shape from the arguments can have Generated shapes only if these new shapes have been obtained as a result of pure intersection (not overlapping) of this shape with any other shapes from arguments.
Thus, the Generated shapes are always:
* VERTICES created from the intersection points and may be Generated from edges and faces only;
* EDGES created from the intersection edges and may be Generated from faces only.

So, only EDGES and FACES could have information about Generated shapes. For all other types of shapes the list of Generated shapes will be empty.

2. Optimization and simplification of the Modified and IsDeleted methods based on the correct filling of the BOPAlgo_BuilderShape::myImagesResult map.

3. Provide history of unification of the solids in the CellsBuilder algorithm.

4. Update of the documentation of Boolean Operations User guide with new chapter "History Information" describing rules for filling history for operations in Boolean Component.

5. Test cases for the issue. New grid "history" has been added into "boolean" category.
17 files changed:
dox/dev_guides/upgrade/upgrade.md
dox/user_guides/boolean_operations/boolean_operations.md
src/BOPAlgo/BOPAlgo_Builder.hxx
src/BOPAlgo/BOPAlgo_BuilderShape.cxx
src/BOPAlgo/BOPAlgo_Builder_4.cxx
src/BOPAlgo/BOPAlgo_CellsBuilder.cxx
src/BOPAlgo/BOPAlgo_CellsBuilder.hxx
src/BOPAlgo/BOPAlgo_Section.cxx
src/BOPAlgo/BOPAlgo_Section.hxx
tests/boolean/grids.list
tests/boolean/history/A1 [new file with mode: 0644]
tests/boolean/history/A2 [new file with mode: 0644]
tests/boolean/history/A3 [new file with mode: 0644]
tests/boolean/history/A4 [new file with mode: 0644]
tests/boolean/history/A5 [new file with mode: 0644]
tests/boolean/history/A6 [new file with mode: 0644]
tests/bugs/caf/bug24869