0030470: Modeling Algorithms - Invalid result of offset operation in mode "Complete...
authoremv <emv@opencascade.com>
Tue, 5 Feb 2019 11:58:41 +0000 (14:58 +0300)
committerapn <apn@opencascade.com>
Thu, 7 Mar 2019 15:07:29 +0000 (18:07 +0300)
commite08a9b0302b04dadb0f723c02956bfc4cae2e876
tree41280dd86b5382e8dd60c6eb80a70f78c4ace518
parent55c8f0f7a4c54611ffea18a3f50736f1b28e52b2
0030470: Modeling Algorithms - Invalid result of offset operation in mode "Complete" with join type "Intersection"

The fix is intended to obtain the correct result of offset operation in which the result contained only the small inverse part of the shape, which clearly should not have been included in the result at all.

The fix adds treatment of the inverted edges while removing the inside faces (collapsed ones) - RemoveInsideFaces method:
- Removing the invalid hanging blocks containing the inverted edges.
- Considering the face containing the inverted edges as the invalid one.

Test cases for the issue.
src/BRepOffset/BRepOffset_MakeOffset_1.cxx
tests/offset/shape_type_i_c/XS4 [new file with mode: 0644]
tests/offset/shape_type_i_c/XS5 [new file with mode: 0644]
tests/offset/shape_type_i_c/XS6 [new file with mode: 0644]
tests/offset/shape_type_i_c/XS7 [new file with mode: 0644]
tests/offset/shape_type_i_c/XS8 [new file with mode: 0644]
tests/offset/shape_type_i_c/XS9 [new file with mode: 0644]
tests/offset/shape_type_i_c/XT1 [new file with mode: 0644]
tests/offset/shape_type_i_c/XT2 [new file with mode: 0644]
tests/offset/shape_type_i_c/ZC7
tests/offset/shape_type_i_c/begin