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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user