removed references to OCC<7
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user