X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMUtils%2FGEOMUtils_TrsfCurve2d.hxx;h=e41af4ce4174cb26272214122cee9075a61c78c4;hb=c1d63ef1f803d255b61ee99fb618bf471add07f4;hp=f0d94bbcad0d6583356049e3e781f62edc124692;hpb=5e3080a50e2ddb3beb564c81d4b8b5aa62fe86e3;p=modules%2Fgeom.git diff --git a/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx b/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx index f0d94bbca..e41af4ce4 100644 --- a/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx +++ b/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2015-2023 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -20,7 +20,6 @@ #ifndef _GEOMUtils_TrsfCurve2d_HXX_ #define _GEOMUtils_TrsfCurve2d_HXX_ - #include #include @@ -29,6 +28,8 @@ #include #include +#include + namespace GEOMUtils { @@ -38,6 +39,9 @@ namespace GEOMUtils */ class TrsfCurve2d : public Adaptor2d_Curve2d { +#if OCC_VERSION_LARGE >= 0x07070000 + DEFINE_STANDARD_RTTIEXT(TrsfCurve2d, Adaptor2d_Curve2d) +#endif public: @@ -110,7 +114,11 @@ namespace GEOMUtils /** * Redefined method from the base class. */ +#if OCC_VERSION_LARGE < 0x07070000 Standard_EXPORT Handle(Adaptor2d_HCurve2d) Trim +#else + Standard_EXPORT Handle(Adaptor2d_Curve2d) Trim +#endif (const Standard_Real First, const Standard_Real Last, const Standard_Real ) const; @@ -234,6 +242,11 @@ namespace GEOMUtils Trsf2d myTrsf; }; + +#if OCC_VERSION_LARGE >= 0x07070000 + DEFINE_STANDARD_HANDLE(TrsfCurve2d, Adaptor2d_Curve2d) +#endif + } #endif