]> OCCT Git - occt-copy.git/commit
0028273: Inefficient implementation of the BRepOffset_MakeOffset::BuildSplitsOfFace...
authoremv <emv@opencascade.com>
Fri, 23 Dec 2016 13:04:25 +0000 (16:04 +0300)
committeremv <emv@opencascade.com>
Thu, 29 Dec 2016 07:41:49 +0000 (10:41 +0300)
commitd32575eac9899d3a6b69aaf05e363b4282f911c2
tree4a80928dd9d203e43b1062c4653669bb6829150d
parent7635a416bef63621a45770a050e84fadfe9e3a01
0028273: Inefficient implementation of the BRepOffset_MakeOffset::BuildSplitsOfFace function

The method for building splits of the face BRepOffset_MakeOffset::BuildSplitsOfFace has been redesigned to use the BOPAlgo_BuilderFace algorithm directly.
The methods FindInvalidFaces and TrimNewIntersectionEdges have been corrected to avoid possible instabilities.
The filtering of invalid edges by existing bounding edges has been corrected to avoid removal of valid splits.
The method BRepOffset_Analyse::Correct2dPoint has been modified to avoid unnecessary initialization of BRepAdaptor_Surface.

Adjustment of the test cases.
Test case bugs modalg_6 bug26513 has been modified to unify faces of the input shape before operation.
src/BRepOffset/BRepOffset_Analyse.cxx
src/BRepOffset/BRepOffset_MakeOffset_1.cxx
tests/bugs/modalg_6/bug26513
tests/offset/shape_type_i_c/XD3
tests/offset/shape_type_i_c/ZD9