X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMUtils%2FGEOMUtils_TrsfCurve2d.hxx;h=da9fa20b1986e8122bfe235b597cdddf688fd2bf;hb=922cc08eea7fdde898b17104ced238c4978c2ec2;hp=9363f5529305ee60db4096e9cd69a9478583d1b2;hpb=63e04ef7a7d83e52fc010bf95f88a9ce1d8aeebc;p=modules%2Fgeom.git diff --git a/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx b/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx index 9363f5529..da9fa20b1 100644 --- a/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx +++ b/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx @@ -28,6 +28,8 @@ #include #include +#include + namespace GEOMUtils { @@ -37,6 +39,9 @@ namespace GEOMUtils */ class TrsfCurve2d : public Adaptor2d_Curve2d { +#if OCC_VERSION_LARGE >= 0x07070000 + DEFINE_STANDARD_RTTIEXT(TrsfCurve2d, Adaptor2d_Curve2d) +#endif public: @@ -109,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; @@ -233,6 +242,11 @@ namespace GEOMUtils Trsf2d myTrsf; }; + +#if OCC_VERSION_LARGE >= 0x07070000 + DEFINE_STANDARD_HANDLE(TrsfCurve2d, Adaptor2d_Curve2d) +#endif + } #endif