-// Copyright (C) 2015-2021 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
#include <TColStd_HArray1OfReal.hxx>
#include <TopoDS_Face.hxx>
+#include <Basics_OCCTVersion.hxx>
+
namespace GEOMUtils
{
*/
class TrsfCurve2d : public Adaptor2d_Curve2d
{
+#if OCC_VERSION_LARGE >= 0x07070000
+ DEFINE_STANDARD_RTTIEXT(TrsfCurve2d, Adaptor2d_Curve2d)
+#endif
public:
/**
* 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;
Trsf2d myTrsf;
};
+
+#if OCC_VERSION_LARGE >= 0x07070000
+ DEFINE_STANDARD_HANDLE(TrsfCurve2d, Adaptor2d_Curve2d)
+#endif
+
}
#endif