occt: master 98b37659
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
bugmaster | master | 2017-10-18 08:05:24 | master 3cdf48fe | |
Changeset | 0029237: Improve performance of Boolean Operations In order to improve performance of Boolean Operations on the relatively fast cases the following improvements have been made: 1. Initialization of the FaceInfo information for the faces participating in Face/Face interference, even when the gluing is ON, to take into account intersection of their sub-shapes. 2. Code simplification & duplication removal - the methods BOPAlgo_ShellSplitter::MakeConnexityBlocks and BOPAlgo_WireSplitter::MakeConnexityBlocks have been unified into BOPTools_AlgoTools::MakeConnexityBlocks. 3. Avoid unnecessary bounding box computation for solids during DS initialization. The bounding boxes for solids will be computed during the building stage to find faces located inside solids. For the shape self-interference check (performed by the BOPAlgo_CheckerSI), the bounding box is still computed, as it is necessary to resolve Shape/Solid intersections. 4. Use only three sample points to check coincidence of line and plane. 5. Perform necessity of planes intersection only when the gluing is off. 6. Avoid repeated initialization of 2D classifier while building splits of the faces. 7. Post treat stage: 7.1. Method CorrectWires: Save edge's data (PCurve, parameter of the vertex, range) to avoid its recalculation. 7.2. Method CheckEdge: While checking vertices on edges avoid unnecessary calculation of their location. 8. Provide possibility to disable the classification of the input solids on the inverted status (to be the holes in the space). 9. Avoid building of bounding boxes for faces/solids during splitting of the input arguments for their classification relatively hole faces/shells if there are no holes created. 10. Avoid rebuilding of the faces/solids from arguments which does not acquire any inside parts from other arguments during the operation by using their draft versions as their splits. Test cases for the issue. Correction of the test cases boolean gdml_public A9 and bugs modalg_7 bug28485 as they are improvements. Additional test case for the issue #28485 as it is fixed by the current changes. |
|||
mod - dox/user_guides/boolean_operations/boolean_operations.md | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_BuilderFace.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_BuilderSolid.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_Builder_2.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_Builder_3.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_Options.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_Options.hxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_ShellSplitter.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_ShellSplitter.hxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_WireSplitter.cxx | Diff File | |||
mod - src/BOPAlgo/BOPAlgo_WireSplitter.hxx | Diff File | |||
mod - src/BOPDS/BOPDS_DS.cxx | Diff File | |||
mod - src/BOPDS/BOPDS_DS.hxx | Diff File | |||
mod - src/BOPTest/BOPTest_APICommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_BOPCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_CellsCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_Objects.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_Objects.hxx | Diff File | |||
mod - src/BOPTest/BOPTest_OptionCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_PartitionCommands.cxx | Diff File | |||
mod - src/BOPTools/BOPTools.cxx | Diff File | |||
mod - src/BOPTools/BOPTools_AlgoTools.cxx | Diff File | |||
mod - src/BOPTools/BOPTools_AlgoTools.hxx | Diff File | |||
mod - src/BOPTools/BOPTools_AlgoTools2D.cxx | Diff File | |||
mod - src/BOPTools/BOPTools_AlgoTools_1.cxx | Diff File | |||
mod - src/BRepAlgoAPI/BRepAlgoAPI_Algo.hxx | Diff File | |||
mod - src/BRepAlgoAPI/BRepAlgoAPI_BooleanOperation.cxx | Diff File | |||
mod - src/BRepAlgoAPI/BRepAlgoAPI_BuilderAlgo.cxx | Diff File | |||
mod - src/BRepAlgoAPI/BRepAlgoAPI_Splitter.cxx | Diff File | |||
mod - src/IntTools/IntTools_EdgeFace.cxx | Diff File | |||
mod - tests/boolean/gdml_public/A9 | Diff File | |||
mod - tests/bugs/modalg_7/bug28485 | Diff File | |||
add - tests/bugs/modalg_7/bug28485_1 | Diff File | |||
add - tests/perf/modalg/bug29237_1 | Diff File | |||
add - tests/perf/modalg/bug29237_2 | Diff File | |||
add - tests/perf/modalg/bug29237_3 | Diff File |