0028191: Inefficient implementation of the BRepOffset_Tool::HasCommonShapes() method
authoremv <emv@opencascade.com>
Tue, 6 Dec 2016 08:12:22 +0000 (11:12 +0300)
committerapn <apn@opencascade.com>
Thu, 8 Dec 2016 14:00:37 +0000 (17:00 +0300)
commitfe1d4d6cff8e8a7583f2505b766826cf5acfcc45
tree764f641bae07a7a34590f8672ff36eaa1ddf80fe
parent291fced1e65504dec040493fe7d328de48be5270
0028191: Inefficient implementation of the BRepOffset_Tool::HasCommonShapes() method

The method to find common Vertices and Edges between faces
  BRepOffset_Tool::HasCommonShapes(const TopoDS_Face&,
                                   const TopoDS_Face&,
                                   TopTools_ListOfShape&,
                                   TopTools_ListOfShape&)

has been re-implemented using maps and renamed to BRepOffset_Tool::FindCommonShapes.

The new method
  BRepOffset_Tool::FindCommonShapes(const TopoDS_Shape&,
                                    const TopoDS_Shape&,
                                    const TopAbs_ShapeEnum,
                                    TopTools_ListOfShape&)

has been implemented to look for the common shapes of given type.
src/BRepOffset/BRepOffset_Inter3d.cxx
src/BRepOffset/BRepOffset_MakeOffset.cxx
src/BRepOffset/BRepOffset_Tool.cxx
src/BRepOffset/BRepOffset_Tool.hxx