occt: master 803a8caf

Author Committer Branch Timestamp Parent
emv bugmaster master 2017-12-12 12:10:37 master 6f1ea0f4
Changeset 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.
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - dox/user_guides/boolean_operations/boolean_operations.md Diff File
mod - src/BOPAlgo/BOPAlgo_Builder.hxx Diff File
mod - src/BOPAlgo/BOPAlgo_BuilderShape.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Builder_4.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_CellsBuilder.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_CellsBuilder.hxx Diff File
mod - src/BOPAlgo/BOPAlgo_Section.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Section.hxx Diff File
mod - tests/boolean/grids.list Diff File
add - tests/boolean/history/A1 Diff File
add - tests/boolean/history/A2 Diff File
add - tests/boolean/history/A3 Diff File
add - tests/boolean/history/A4 Diff File
add - tests/boolean/history/A5 Diff File
add - tests/boolean/history/A6 Diff File
mod - tests/bugs/caf/bug24869 Diff File