]> OCCT Git - occt-copy.git/commit
0029363: No history for shapes which were produced as a result of intersection
authoremv <emv@opencascade.com>
Tue, 12 Dec 2017 12:10:37 +0000 (15:10 +0300)
committeremv <emv@opencascade.com>
Fri, 29 Jun 2018 10:55:27 +0000 (13:55 +0300)
commit32e32d730d3d95452554f033d15b8553813a2ecb
treedb6b0fa832f2bcfacb8135ef54ec8cb98930a8d4
parent71f5fd648ada796d6b620b25cb16a6b4fa990b3f
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