Remove support to oldest occ <7.5 (#20084)

* remove support to oldest occ <7.5

The  os ubuntu 22.04 not supported use occ 7.5.1.
There is a lot of code implemented to support even older versions.
The patch removes support for versions lower than occ 7.5.0

* .

* move include library

#pieterhijma  change request :

* removed deprecated functions

get/setAngle functions has been removed with OCC 7.5
This commit is contained in:
mosfet80
2025-03-21 13:06:47 +01:00
committed by GitHub
parent e987441542
commit 3dd7a1cc52
25 changed files with 15 additions and 422 deletions

View File

@@ -978,7 +978,6 @@ void ViewProviderPartExt::updateVisual()
// create or use the mesh on the data structure
Standard_Real AngDeflectionRads = AngularDeflection.getValue() / 180.0 * M_PI;
#if OCC_VERSION_HEX >= 0x070500
IMeshTools_Parameters meshParams;
meshParams.Deflection = deflection;
meshParams.Relative = Standard_False;
@@ -987,9 +986,6 @@ void ViewProviderPartExt::updateVisual()
meshParams.AllowQualityDecrease = Standard_True;
BRepMesh_IncrementalMesh(cShape, meshParams);
#else
BRepMesh_IncrementalMesh(cShape, deflection, Standard_False, AngDeflectionRads, Standard_True);
#endif
// We must reset the location here because the transformation data
// are set in the placement property