]> OCCT Git - occt-copy.git/commit
0028467: Improve UnifySameDomain performance
authormsv <msv@opencascade.com>
Fri, 17 Feb 2017 08:26:25 +0000 (11:26 +0300)
committeremv <emv@opencascade.com>
Fri, 10 Nov 2017 11:22:06 +0000 (14:22 +0300)
commit333fa3e9bd185ca3e117812dbb70f8144a9b37a3
treedc164365a254b44af952492280673b623b884998
parentb61707279fae112642e40aa3cd8dcd6e851d23fa
0028467: Improve UnifySameDomain performance

This patch turns off some not needed modes of fix in the called ShapeFix_Face algorithm.

It stores pcurves on planes in the edges to avoid repeated computation of the same pcurves many times (it is done only when SafeInputMode is false).

It avoids unnecessary replace/apply actions in the modification context.

It removes the code that makes decomposition of surface of the face on several faces.

The new command buildpcurvesonplane has been added, which builds and stores pcurves of edges on planar faces. This is useful for investigations how presence of pcurves on planes influence performance of algorithms.

Make drawing of dimension line in snowflake test independent on the order of vertices in the result.
20 files changed:
dox/dev_guides/upgrade/upgrade.md
samples/tcl/snowflake.tcl
src/BOPAlgo/BOPAlgo_Builder_2.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_7.cxx
src/BOPAlgo/BOPAlgo_Tools.cxx
src/BOPTest/BOPTest_UtilityCommands.cxx
src/BOPTools/BOPTools_AlgoTools2D.cxx
src/BOPTools/BOPTools_AlgoTools2D.hxx
src/BRep/BRep_Tool.cxx
src/BRep/BRep_Tool.hxx
src/BRepLib/BRepLib.hxx
src/BRepLib/BRepLib_1.cxx
src/BRepOffset/BRepOffset_MakeOffset_1.cxx
src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx
tests/heal/unify_same_domain/A4
tests/heal/unify_same_domain/A9
tests/perf/heal/bug28467_1 [new file with mode: 0644]
tests/perf/heal/bug28467_2 [new file with mode: 0644]
tests/perf/heal/bug28467_3 [new file with mode: 0644]