From: vsr Date: Tue, 7 Oct 2014 15:03:48 +0000 (+0400) Subject: OCCT 6.8.0 (dev) porting X-Git-Tag: V7_5_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d8d855681f503e48e7da3de1cca66a13db64ad20;p=modules%2Fhexablock.git OCCT 6.8.0 (dev) porting --- diff --git a/src/HEXABLOCK/HexNewShape.cxx b/src/HEXABLOCK/HexNewShape.cxx index a064510..ee0a18b 100755 --- a/src/HEXABLOCK/HexNewShape.cxx +++ b/src/HEXABLOCK/HexNewShape.cxx @@ -55,6 +55,7 @@ #include #include +#include BEGIN_NAMESPACE_HEXA @@ -178,8 +179,12 @@ int NewShape::transfoShape (Matrix& matrice, SubShape* shape) gp_Trsf transfo; double a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34; matrice.getCoeff (a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34); +#if OCC_VERSION_LARGE > 0x06070100 + transfo.SetValues (a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34); +#else transfo.SetValues (a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34, Epsil2, Epsil2); +#endif TopoDS_Shape shape_orig = shape->getShape (); BRepBuilderAPI_Transform builder (shape_orig, transfo, Standard_True);