]> OCCT Git - occt-copy.git/commitdiff
0026166: Improve ShapeHealing execution time on shape without PCurves CR26166
authorabv <abv@opencascade.com>
Wed, 29 Apr 2015 20:00:28 +0000 (23:00 +0300)
committerabv <abv@opencascade.com>
Wed, 29 Apr 2015 20:00:28 +0000 (23:00 +0300)
Default projection algorithm changed to Tree in Extrema_GenExtPS

Test grid perf heal added

src/Extrema/Extrema_GenExtPS.cxx
tests/perf/grids.list
tests/perf/heal/pcurves1 [new file with mode: 0644]
tests/perf/heal/pcurves2 [new file with mode: 0644]

index 97cf856d3f3dd6b0a824c638f5f19e9f1ad4c82b..1130aae1396828994e08c1f41c6e71ab7ee79396 100644 (file)
@@ -219,7 +219,7 @@ Extrema_GenExtPS::Extrema_GenExtPS()
   myDone = Standard_False;
   myInit = Standard_False;
   myFlag = Extrema_ExtFlag_MINMAX;
-  myAlgo = Extrema_ExtAlgo_Grad;
+  myAlgo = Extrema_ExtAlgo_Tree;
 }
 
 
index c7c4c778db3b60891278732112978c8f1fc0590d..af7c3d4c585c1ebdffe362724d8a7a9bb8aa2954 100644 (file)
@@ -1,3 +1,4 @@
 001 bop
 002 ncollection
 003 bspline
+004 heal
diff --git a/tests/perf/heal/pcurves1 b/tests/perf/heal/pcurves1
new file mode 100644 (file)
index 0000000..4320e1e
--- /dev/null
@@ -0,0 +1,4 @@
+# Fixing shape on a case where most is taken by projection of pcurves
+
+restore [locate_data_file bug26166_beforeSH1.brep] a
+fixshape result a
diff --git a/tests/perf/heal/pcurves2 b/tests/perf/heal/pcurves2
new file mode 100644 (file)
index 0000000..977b704
--- /dev/null
@@ -0,0 +1,4 @@
+# Fixing shape on a case where most is taken by projection of pcurves
+
+restore [locate_data_file bug26166_beforeSH2.brep] a
+fixshape result a