Salome HOME
updated copyright message
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_FinderShapeOn.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 1117ed7..1b27054
@@ -1,5 +1,5 @@
 
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -32,7 +32,6 @@
 #include <Standard_Macro.hxx>
 #include <Standard_Boolean.hxx>
 
-#include <Handle_Geom_Surface.hxx>
 #include <Geom_Surface.hxx>
 
 #include <TopAbs_ShapeEnum.hxx>
@@ -73,7 +72,7 @@ class GEOMAlgo_FinderShapeOn  : public GEOMAlgo_ShapeAlgo
     void SetState(const GEOMAlgo_State aSF) ;
 
   Standard_EXPORT
-    const Handle_Geom_Surface& Surface() const;
+    const Handle(Geom_Surface)& Surface() const;
 
   Standard_EXPORT
     TopAbs_ShapeEnum ShapeType() const;
@@ -113,7 +112,7 @@ protected:
     void FindVertices() ;
 
 
-  Handle_Geom_Surface mySurface;
+  Handle(Geom_Surface) mySurface;
   TopAbs_ShapeEnum myShapeType;
   GEOMAlgo_State myState;
   TopoDS_Shape myArg1;