]> OCCT Git - occt-copy.git/commit
0024596: Slow import of IGES data
authorama <ama@opencascade.com>
Thu, 13 Mar 2014 11:07:45 +0000 (15:07 +0400)
committerabv <abv@opencascade.com>
Tue, 25 Mar 2014 12:58:23 +0000 (16:58 +0400)
commite8089c16bb69fc43ca1982b7311744e43458b13f
tree96dc6f4b7217d69c72e946a89751d4d49608fe0a
parent8697074c632fd7e7988f657aec94771e50bc6bcb
0024596: Slow import of IGES data

Part 1: Speed up of import functionality.
Correction in ShapeFix_IntersectionTool::FixIntersectingWires() - preliminary construction of ShapeAnalysis_Surface tool for the whole face; computation of 2d bounding boxes for edges and wires before intersection checking.

Part 2: Speed up of check shape.
Correction in BRepCheck_Face::IntersectWires() in the same way: preliminary computation of 2d boxes for edges and wires in order to reduce the number of calls of intersection tool for pair of wires.

Test cases for issue CR24596
src/BRepCheck/BRepCheck_Face.cxx
src/ShapeFix/ShapeFix_IntersectionTool.cxx
tests/bugs/heal/bug24596_1 [new file with mode: 0755]
tests/bugs/heal/bug24596_2 [new file with mode: 0755]