]> OCCT Git - occt-copy.git/commit
0028191: Inefficient implementation of the BRepOffset_Tool::HasCommonShapes() method
authoremv <emv@opencascade.com>
Tue, 6 Dec 2016 08:12:22 +0000 (11:12 +0300)
committeremv <emv@opencascade.com>
Tue, 6 Dec 2016 09:59:58 +0000 (12:59 +0300)
commit7635a416bef63621a45770a050e84fadfe9e3a01
tree2ef93bea375b8871bb6f468a3027bca4827f4360
parentf27159fca1a656fe2875527d694fe898fe738bcc
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