removed references to OCC<7

This commit is contained in:
andrea
2022-06-25 10:26:24 +02:00
committed by Uwe
parent d5340a82ab
commit c66aadeb60
46 changed files with 49 additions and 714 deletions

View File

@@ -143,13 +143,7 @@ PyObject* Geometry2dPy::transform(PyObject *args)
double a23 = static_cast<double>(Py::Float(list.getItem(5)));
gp_Trsf mat;
mat.SetValues(a11, a12, 0, a13,
a21, a22, 0, a23,
0 , 0, 1, 0
#if OCC_VERSION_HEX < 0x060800
, 0.00001,0.00001
#endif
); //precision was removed in OCCT CR0025194
mat.SetValues(a11, a12, 0, a13, a21, a22, 0, a23, 0, 0, 1, 0);
gp_Trsf2d trf(mat);
getGeometry2dPtr()->handle()->Transform(trf);