0025609: Clean up the duplicate classes in TKBO project
authoremv <emv@opencascade.com>
Thu, 23 Nov 2017 07:57:25 +0000 (10:57 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 30 Nov 2017 09:11:15 +0000 (12:11 +0300)
commit1155d05a06702191afb2039d6d0c8d6ee197da37
tree66e32e1c1b72c4701de1e393530bc04cbfbdee19
parent2da51263712183523c17b2726bf8ca1b85b3632f
0025609: Clean up the duplicate classes in TKBO project

1. The package BOPCol has been fully removed:
- *BOPCol_BaseAllocator* is replaced with *Handle(NCollection_BaseAllocator)*;
- *BOPCol_BoxBndTree* is replaced with *BOPTools_BoxBndTree*;
- *BOPCol_Box2DBndTree* is removed as unused;
- *BOPCol_DataMapOfIntegerInteger* is replaced with *TColStd_DataMapOfIntegerInteger*;
- *BOPCol_DataMapOfIntegerListOfInteger* is replaced with *TColStd_DataMapOfIntegerListOfInteger*;
- *BOPCol_DataMapOfIntegerListOfShape* is replaced with *TopTools_DataMapOfIntegerListOfShape*;
- *BOPCol_DataMapOfIntegerMapOfInteger.hxx* is removed as unused;
- *BOPCol_DataMapOfIntegerReal* is replaced with *TColStd_DataMapOfIntegerReal*;
- *BOPCol_DataMapOfIntegerShape* is replaced with *TopTools_DataMapOfIntegerShape*;
- *BOPCol_DataMapOfShapeBox* is replaced with *TopTools_DataMapOfShapeBox*;
- *BOPCol_DataMapOfShapeInteger* is replaced with *TopTools_DataMapOfShapeInteger*;
- *BOPCol_DataMapOfShapeListOfShape* is replaced with *TopTools_DataMapOfShapeListOfShape*;
- *BOPCol_DataMapOfShapeReal* is replaced with *TopTools_DataMapOfShapeReal*;
- *BOPCol_DataMapOfShapeShape* is replaced with *TopTools_DataMapOfShapeShape*;
- *BOPCol_DataMapOfTransientAddress* is removed as unused;
- *BOPCol_IndexedDataMapOfIntegerListOfInteger* is removed as unused;
- *BOPCol_IndexedDataMapOfShapeBox* is removed as unused;
- *BOPCol_IndexedDataMapOfShapeInteger* is removed as unused;
- *BOPCol_IndexedDataMapOfShapeListOfShape* is replaced with *TopTools_IndexedDataMapOfShapeListOfShape*;
- *BOPCol_IndexedDataMapOfShapeReal* is removed as unused;
- *BOPCol_IndexedDataMapOfShapeShape* is replaced with *TopTools_IndexedDataMapOfShapeShape*;
- *BOPCol_IndexedMapOfInteger* is replaced with *TColStd_IndexedMapOfInteger*;
- *BOPCol_IndexedMapOfOrientedShape* is replaced with *TopTools_IndexedMapOfOrientedShape*;
- *BOPCol_IndexedMapOfShape* is replaced with *TopTools_IndexedMapOfShape*;
- *BOPCol_ListOfInteger* is replaced with *TColStd_ListOfInteger*;
- *BOPCol_ListOfListOfShape* is replaced with *TopTools_ListOfListOfShape*;
- *BOPCol_ListOfShape* is replaced with *TopTools_ListOfShape*;
- *BOPCol_MapOfInteger* is replaced with *TColStd_MapOfInteger*;
- *BOPCol_MapOfOrientedShape* is replaced with *TopTools_MapOfOrientedShape*;
- *BOPCol_MapOfShape* is replaced with *TopTools_MapOfShape*;
- *BOPCol_PListOfInteger* is removed as unused;
- *BOPCol_PInteger* is removed as unused
- *BOPCol_SequenceOfPnt2d* is replaced with *TColgp_SequenceOfPnt2d*;
- *BOPCol_SequenceOfReal* is replaced with *TColStd_SequenceOfReal*;
- *BOPCol_SequenceOfShape* is replaced with *TopTools_SequenceOfShape*;
- *BOPCol_Parallel* is replaced with *BOPTools_Parallel*;
- *BOPCol_NCVector* is replaced with *NCollection_Vector*;

2. The class *BOPDS_PassKey* and containers for it have been removed as unused;

3. The unused containers from *IntTools* package have been removed:
- *IntTools_DataMapOfShapeAddress* is removed as unused;
- *IntTools_IndexedDataMapOfTransientAddress* is removed as unused;

4. The container *BiTgte_DataMapOfShapeBox* is replaced with *TopTools_DataMapOfShapeBox*;

5. The class *BOPTools* has been removed as duplicate of the class *TopExp*;
210 files changed:
dox/dev_guides/upgrade/upgrade.md
dox/user_guides/boolean_operations/boolean_operations.md
src/BOPAlgo/BOPAlgo_Algo.hxx
src/BOPAlgo/BOPAlgo_ArgumentAnalyzer.cxx
src/BOPAlgo/BOPAlgo_ArgumentAnalyzer.hxx
src/BOPAlgo/BOPAlgo_BOP.cxx
src/BOPAlgo/BOPAlgo_BOP.hxx
src/BOPAlgo/BOPAlgo_Builder.cxx
src/BOPAlgo/BOPAlgo_Builder.hxx
src/BOPAlgo/BOPAlgo_BuilderArea.hxx
src/BOPAlgo/BOPAlgo_BuilderFace.cxx
src/BOPAlgo/BOPAlgo_BuilderFace.hxx
src/BOPAlgo/BOPAlgo_BuilderShape.cxx
src/BOPAlgo/BOPAlgo_BuilderShape.hxx
src/BOPAlgo/BOPAlgo_BuilderSolid.cxx
src/BOPAlgo/BOPAlgo_BuilderSolid.hxx
src/BOPAlgo/BOPAlgo_Builder_1.cxx
src/BOPAlgo/BOPAlgo_Builder_2.cxx
src/BOPAlgo/BOPAlgo_Builder_3.cxx
src/BOPAlgo/BOPAlgo_Builder_4.cxx
src/BOPAlgo/BOPAlgo_CellsBuilder.cxx
src/BOPAlgo/BOPAlgo_CellsBuilder.hxx
src/BOPAlgo/BOPAlgo_CheckResult.cxx
src/BOPAlgo/BOPAlgo_CheckResult.hxx
src/BOPAlgo/BOPAlgo_CheckerSI.cxx
src/BOPAlgo/BOPAlgo_CheckerSI_1.cxx
src/BOPAlgo/BOPAlgo_MakerVolume.cxx
src/BOPAlgo/BOPAlgo_MakerVolume.hxx
src/BOPAlgo/BOPAlgo_MakerVolume.lxx
src/BOPAlgo/BOPAlgo_Options.hxx
src/BOPAlgo/BOPAlgo_PaveFiller.cxx
src/BOPAlgo/BOPAlgo_PaveFiller.hxx
src/BOPAlgo/BOPAlgo_PaveFiller_1.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_10.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_11.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_2.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_4.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_7.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_8.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_9.cxx
src/BOPAlgo/BOPAlgo_Section.cxx
src/BOPAlgo/BOPAlgo_Section.hxx
src/BOPAlgo/BOPAlgo_ShellSplitter.cxx
src/BOPAlgo/BOPAlgo_ShellSplitter.hxx
src/BOPAlgo/BOPAlgo_Splitter.cxx
src/BOPAlgo/BOPAlgo_Splitter.hxx
src/BOPAlgo/BOPAlgo_Tools.cxx
src/BOPAlgo/BOPAlgo_Tools.hxx
src/BOPAlgo/BOPAlgo_ToolsProvider.cxx
src/BOPAlgo/BOPAlgo_ToolsProvider.hxx
src/BOPAlgo/BOPAlgo_WireEdgeSet.hxx
src/BOPAlgo/BOPAlgo_WireEdgeSet.lxx
src/BOPAlgo/BOPAlgo_WireSplitter.cxx
src/BOPAlgo/BOPAlgo_WireSplitter.hxx
src/BOPAlgo/BOPAlgo_WireSplitter.lxx
src/BOPAlgo/BOPAlgo_WireSplitter_1.cxx
src/BOPCol/BOPCol_BaseAllocator.hxx [deleted file]
src/BOPCol/BOPCol_Box2DBndTree.cxx [deleted file]
src/BOPCol/BOPCol_Box2DBndTree.hxx [deleted file]
src/BOPCol/BOPCol_BoxBndTree.cxx [deleted file]
src/BOPCol/BOPCol_BoxBndTree.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfIntegerInteger.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfIntegerListOfInteger.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfIntegerListOfShape.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfIntegerMapOfInteger.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfIntegerReal.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfIntegerShape.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfShapeAddress.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfShapeInteger.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfShapeListOfShape.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfShapeReal.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfShapeShape.hxx [deleted file]
src/BOPCol/BOPCol_DataMapOfTransientAddress.hxx [deleted file]
src/BOPCol/BOPCol_IndexedDataMapOfIntegerListOfInteger.hxx [deleted file]
src/BOPCol/BOPCol_IndexedDataMapOfShapeBox.hxx [deleted file]
src/BOPCol/BOPCol_IndexedDataMapOfShapeInteger.hxx [deleted file]
src/BOPCol/BOPCol_IndexedDataMapOfShapeListOfShape.hxx [deleted file]
src/BOPCol/BOPCol_IndexedMapOfInteger.hxx [deleted file]
src/BOPCol/BOPCol_IndexedMapOfShape.hxx [deleted file]
src/BOPCol/BOPCol_ListOfInteger.hxx [deleted file]
src/BOPCol/BOPCol_ListOfListOfShape.hxx [deleted file]
src/BOPCol/BOPCol_ListOfShape.hxx [deleted file]
src/BOPCol/BOPCol_MapOfInteger.hxx [deleted file]
src/BOPCol/BOPCol_MapOfOrientedShape.hxx [deleted file]
src/BOPCol/BOPCol_MapOfShape.hxx [deleted file]
src/BOPCol/BOPCol_NCVector.hxx [deleted file]
src/BOPCol/BOPCol_PInteger.hxx [deleted file]
src/BOPCol/BOPCol_PListOfInteger.hxx [deleted file]
src/BOPCol/BOPCol_SequenceOfPnt2d.hxx [deleted file]
src/BOPCol/BOPCol_SequenceOfShape.hxx [deleted file]
src/BOPCol/FILES [deleted file]
src/BOPDS/BOPDS_CommonBlock.cxx
src/BOPDS/BOPDS_CommonBlock.hxx
src/BOPDS/BOPDS_Curve.hxx
src/BOPDS/BOPDS_Curve.lxx
src/BOPDS/BOPDS_DS.cxx
src/BOPDS/BOPDS_DS.hxx
src/BOPDS/BOPDS_DataMapOfPassKeyListOfPaveBlock.hxx [deleted file]
src/BOPDS/BOPDS_DataMapOfPaveBlockListOfInteger.hxx
src/BOPDS/BOPDS_FaceInfo.hxx
src/BOPDS/BOPDS_FaceInfo.lxx
src/BOPDS/BOPDS_IndexedDataMapOfPaveBlockListOfInteger.hxx
src/BOPDS/BOPDS_Iterator.cxx
src/BOPDS/BOPDS_Iterator.hxx
src/BOPDS/BOPDS_IteratorSI.cxx
src/BOPDS/BOPDS_IteratorSI.hxx
src/BOPDS/BOPDS_ListIteratorOfListOfPassKeyBoolean.hxx [deleted file]
src/BOPDS/BOPDS_ListOfPassKeyBoolean.hxx [deleted file]
src/BOPDS/BOPDS_MapOfPassKey.hxx [deleted file]
src/BOPDS/BOPDS_MapOfPassKeyBoolean.hxx [deleted file]
src/BOPDS/BOPDS_PassKey.cxx [deleted file]
src/BOPDS/BOPDS_PassKey.hxx [deleted file]
src/BOPDS/BOPDS_PassKey.lxx [deleted file]
src/BOPDS/BOPDS_PassKeyBoolean.hxx [deleted file]
src/BOPDS/BOPDS_PassKeyBoolean.lxx [deleted file]
src/BOPDS/BOPDS_PassKeyMapHasher.hxx [deleted file]
src/BOPDS/BOPDS_PassKeyMapHasher.lxx [deleted file]
src/BOPDS/BOPDS_PaveBlock.hxx
src/BOPDS/BOPDS_ShapeInfo.cxx
src/BOPDS/BOPDS_ShapeInfo.hxx
src/BOPDS/BOPDS_ShapeInfo.lxx
src/BOPDS/BOPDS_SubIterator.cxx
src/BOPDS/BOPDS_SubIterator.hxx
src/BOPDS/BOPDS_VectorOfCurve.hxx
src/BOPDS/BOPDS_VectorOfFaceInfo.hxx
src/BOPDS/BOPDS_VectorOfIndexRange.hxx
src/BOPDS/BOPDS_VectorOfInterfEE.hxx
src/BOPDS/BOPDS_VectorOfInterfEF.hxx
src/BOPDS/BOPDS_VectorOfInterfEZ.hxx
src/BOPDS/BOPDS_VectorOfInterfFF.hxx
src/BOPDS/BOPDS_VectorOfInterfFZ.hxx
src/BOPDS/BOPDS_VectorOfInterfVE.hxx
src/BOPDS/BOPDS_VectorOfInterfVF.hxx
src/BOPDS/BOPDS_VectorOfInterfVV.hxx
src/BOPDS/BOPDS_VectorOfInterfVZ.hxx
src/BOPDS/BOPDS_VectorOfInterfZZ.hxx
src/BOPDS/BOPDS_VectorOfListOfPassKeyBoolean.hxx [deleted file]
src/BOPDS/BOPDS_VectorOfListOfPaveBlock.hxx
src/BOPDS/BOPDS_VectorOfPair.hxx
src/BOPDS/BOPDS_VectorOfPoint.hxx
src/BOPDS/BOPDS_VectorOfShapeInfo.hxx
src/BOPDS/BOPDS_VectorOfVectorOfPair.hxx
src/BOPDS/FILES
src/BOPTest/BOPTest_APICommands.cxx
src/BOPTest/BOPTest_BOPCommands.cxx
src/BOPTest/BOPTest_CellsCommands.cxx
src/BOPTest/BOPTest_CheckCommands.cxx
src/BOPTest/BOPTest_DebugCommands.cxx
src/BOPTest/BOPTest_ObjCommands.cxx
src/BOPTest/BOPTest_Objects.cxx
src/BOPTest/BOPTest_Objects.hxx
src/BOPTest/BOPTest_PartitionCommands.cxx
src/BOPTest/BOPTest_UtilityCommands.cxx
src/BOPTools/BOPTools.cxx [deleted file]
src/BOPTools/BOPTools.hxx [deleted file]
src/BOPTools/BOPTools_AlgoTools.cxx
src/BOPTools/BOPTools_AlgoTools.hxx
src/BOPTools/BOPTools_AlgoTools2D.cxx
src/BOPTools/BOPTools_AlgoTools2D.hxx
src/BOPTools/BOPTools_AlgoTools3D.cxx
src/BOPTools/BOPTools_AlgoTools_1.cxx
src/BOPTools/BOPTools_AlgoTools_2.cxx
src/BOPTools/BOPTools_BoxBndTree.hxx [moved from src/BOPCol/BOPCol_IndexedMapOfOrientedShape.hxx with 61% similarity]
src/BOPTools/BOPTools_BoxSelector.hxx [new file with mode: 0644]
src/BOPTools/BOPTools_ConnexityBlock.hxx
src/BOPTools/BOPTools_CoupleOfShape.hxx
src/BOPTools/BOPTools_DataMapOfShapeSet.hxx
src/BOPTools/BOPTools_EdgeSet.hxx
src/BOPTools/BOPTools_EdgeSet.lxx
src/BOPTools/BOPTools_IndexedDataMapOfSetShape.hxx [moved from src/BOPCol/BOPCol_IndexedDataMapOfShapeShape.hxx with 68% similarity]
src/BOPTools/BOPTools_Parallel.hxx [moved from src/BOPCol/BOPCol_Parallel.hxx with 84% similarity]
src/BOPTools/BOPTools_Set.cxx
src/BOPTools/BOPTools_Set.hxx
src/BOPTools/BOPTools_ShapeSet.hxx
src/BOPTools/BOPTools_ShapeSet.lxx
src/BOPTools/FILES
src/BRepAlgoAPI/BRepAlgoAPI_Algo.hxx
src/BRepAlgoAPI/BRepAlgoAPI_BooleanOperation.cxx
src/BRepAlgoAPI/BRepAlgoAPI_Section.cxx
src/BRepFeat/BRepFeat_Builder.cxx
src/BRepFeat/BRepFeat_Builder.hxx
src/BRepFill/BRepFill_TrimShellCorner.cxx
src/BRepOffset/BRepOffset_Inter2d.cxx
src/BRepOffset/BRepOffset_Inter3d.cxx
src/BRepOffset/BRepOffset_MakeOffset.cxx
src/BRepOffset/BRepOffset_MakeOffset_1.cxx
src/BRepOffset/BRepOffset_Tool.cxx
src/BRepTest/BRepTest_FilletCommands.cxx
src/BiTgte/BiTgte_Blend.cxx
src/BiTgte/BiTgte_Blend.hxx
src/BiTgte/BiTgte_DataMapIteratorOfDataMapOfShapeBox.hxx [deleted file]
src/BiTgte/BiTgte_DataMapOfShapeBox.hxx [deleted file]
src/BiTgte/FILES
src/IntTools/FILES
src/IntTools/IntTools_Context.cxx
src/IntTools/IntTools_Context.hxx
src/IntTools/IntTools_EdgeEdge.cxx
src/IntTools/IntTools_IndexedDataMapOfTransientAddress.hxx [deleted file]
src/NCollection/NCollection_Vector.hxx
src/QABugs/QABugs_19.cxx
src/TKBO/PACKAGES
src/TopExp/TopExp.cxx
src/TopExp/TopExp.hxx
src/TopTools/FILES
src/TopTools/TopTools_DataMapOfShapeBox.hxx [moved from src/BOPCol/BOPCol_DataMapOfShapeBox.hxx with 79% similarity]
src/TopTools/TopTools_IndexedDataMapOfShapeReal.hxx [moved from src/BOPCol/BOPCol_IndexedDataMapOfShapeReal.hxx with 81% similarity]
src/TopTools/TopTools_ListOfListOfShape.hxx [moved from src/BOPCol/BOPCol_SequenceOfReal.hxx with 66% similarity]