Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Porting Salome to OCCT 7.7.0
[modules/geom.git]
/
src
/
GEOMUtils
/
GEOMUtils_TrsfCurve2d.hxx
diff --git
a/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx
b/src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx
index 9363f5529305ee60db4096e9cd69a9478583d1b2..da9fa20b1986e8122bfe235b597cdddf688fd2bf 100644
(file)
--- a/
src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx
+++ b/
src/GEOMUtils/GEOMUtils_TrsfCurve2d.hxx
@@
-28,6
+28,8
@@
#include <TColStd_HArray1OfReal.hxx>
#include <TopoDS_Face.hxx>
#include <TColStd_HArray1OfReal.hxx>
#include <TopoDS_Face.hxx>
+#include <Basics_OCCTVersion.hxx>
+
namespace GEOMUtils
{
namespace GEOMUtils
{
@@
-37,6
+39,9
@@
namespace GEOMUtils
*/
class TrsfCurve2d : public Adaptor2d_Curve2d
{
*/
class TrsfCurve2d : public Adaptor2d_Curve2d
{
+#if OCC_VERSION_LARGE >= 0x07070000
+ DEFINE_STANDARD_RTTIEXT(TrsfCurve2d, Adaptor2d_Curve2d)
+#endif
public:
public:
@@
-109,7
+114,11
@@
namespace GEOMUtils
/**
* Redefined method from the base class.
*/
/**
* Redefined method from the base class.
*/
+#if OCC_VERSION_LARGE < 0x07070000
Standard_EXPORT Handle(Adaptor2d_HCurve2d) Trim
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;
(const Standard_Real First, const Standard_Real Last,
const Standard_Real ) const;
@@
-233,6
+242,11
@@
namespace GEOMUtils
Trsf2d myTrsf;
};
Trsf2d myTrsf;
};
+
+#if OCC_VERSION_LARGE >= 0x07070000
+ DEFINE_STANDARD_HANDLE(TrsfCurve2d, Adaptor2d_Curve2d)
+#endif
+
}
#endif
}
#endif