0032008: Modeling Algorithms - disallow implicit copy of Extrema algorithms
authorkgv <kgv@opencascade.com>
Fri, 18 Dec 2020 11:29:59 +0000 (14:29 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 5 Mar 2021 14:31:07 +0000 (17:31 +0300)
commitd6e050ac4455bdd067c3b7f8e9ac09d8d1aad412
tree2d43032bd8e6d4059c753619377eb9f2be2c1253
parent6498be70360c22f2b3df1f2fafcb230271dfc912
0032008: Modeling Algorithms - disallow implicit copy of Extrema algorithms

Extrema_GenExtPS now prefers resizing of Array2 tables instead of managing tables by extra handles.
Removed unsafe casts to Adaptor3d_SurfacePtr/Adaptor3d_CurvePtr in Extrema classes.
Removed unsafe casts to curve adaptors in Extrema_ExtCC, Extrema_ExtCC2d classes.

Extrema_GenExtPS, Extrema_GenExtSS, Extrema_ExtCS -
copies by value are now disallowed;
several unexpected places copying the object have been fixed.

IntTools_Context - maps of void* have been replaced by typed maps.
52 files changed:
src/Adaptor3d/Adaptor3d_CurveOnSurfacePtr.hxx [deleted file]
src/Adaptor3d/Adaptor3d_CurvePtr.hxx [deleted file]
src/Adaptor3d/Adaptor3d_SurfacePtr.hxx [deleted file]
src/Adaptor3d/FILES
src/BOPAlgo/BOPAlgo_Tools.cxx
src/BRepFill/BRepFill_Filling.cxx
src/BRepFill/BRepFill_Filling.hxx
src/BRepGProp/BRepGProp_TFunction.cxx
src/BRepGProp/BRepGProp_TFunction.hxx
src/BRepGProp/BRepGProp_UFunction.cxx
src/BRepGProp/BRepGProp_UFunction.hxx
src/BRepGProp/BRepGProp_VinertGK.cxx
src/BRepGProp/BRepGProp_VinertGK.hxx
src/Extrema/Extrema_ExtCC.cxx
src/Extrema/Extrema_ExtCC.hxx
src/Extrema/Extrema_ExtCC2d.cxx
src/Extrema/Extrema_ExtCC2d.hxx
src/Extrema/Extrema_ExtCS.cxx
src/Extrema/Extrema_ExtCS.hxx
src/Extrema/Extrema_ExtPRevS.cxx
src/Extrema/Extrema_ExtPS.cxx
src/Extrema/Extrema_ExtPS.hxx
src/Extrema/Extrema_ExtSS.cxx
src/Extrema/Extrema_ExtSS.hxx
src/Extrema/Extrema_FuncExtCS.cxx
src/Extrema/Extrema_FuncExtCS.hxx
src/Extrema/Extrema_FuncExtSS.cxx
src/Extrema/Extrema_FuncExtSS.hxx
src/Extrema/Extrema_FuncPSNorm.cxx
src/Extrema/Extrema_FuncPSNorm.hxx
src/Extrema/Extrema_GenExtCS.cxx
src/Extrema/Extrema_GenExtCS.hxx
src/Extrema/Extrema_GenExtPS.cxx
src/Extrema/Extrema_GenExtPS.hxx
src/Extrema/Extrema_GenExtSS.cxx
src/Extrema/Extrema_GenExtSS.hxx
src/Extrema/Extrema_HArray2OfPOnSurfParams.hxx [deleted file]
src/Extrema/FILES
src/GeomAPI/GeomAPI_ExtremaCurveCurve.cxx
src/GeomAPI/GeomAPI_ExtremaCurveSurface.cxx
src/GeomFill/GeomFill_Darboux.cxx
src/GeomInt/GeomInt_IntSS_1.cxx
src/HLRBRep/HLRBRep_Intersector.cxx
src/IntTools/IntTools_BeanFaceIntersector.cxx
src/IntTools/IntTools_BeanFaceIntersector.hxx
src/IntTools/IntTools_Context.cxx
src/IntTools/IntTools_Context.hxx
src/ProjLib/ProjLib_CompProjectedCurve.cxx
src/ProjLib/ProjLib_PrjFunc.cxx
src/ProjLib/ProjLib_PrjFunc.hxx
src/ProjLib/ProjLib_PrjResolve.cxx
src/ProjLib/ProjLib_PrjResolve.hxx