]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMAlgo/GEOMAlgo_FinderShapeOn.hxx
Salome HOME
[bos #39942] EDF 25230 - New problem with XYZtoUV
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_FinderShapeOn.hxx
index 2e010b6b026b346f2211c927b9370b635de05d12..3b13012924dd2a28184a1f7bc282bb5d5795750c 100644 (file)
@@ -1,5 +1,5 @@
 
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -7,7 +7,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 #include <Standard.hxx>
 #include <Standard_Macro.hxx>
-#include <Handle_Geom_Surface.hxx>
+#include <Standard_Boolean.hxx>
+
+#include <Geom_Surface.hxx>
+
 #include <TopAbs_ShapeEnum.hxx>
-#include <GEOMAlgo_State.hxx>
+
 #include <TopoDS_Shape.hxx>
+
 #include <TopTools_ListOfShape.hxx>
 #include <TopTools_DataMapOfShapeShape.hxx>
-#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-#include <Standard_Boolean.hxx>
+
+
+#include <GEOMAlgo_State.hxx>
 #include <GEOMAlgo_ShapeAlgo.hxx>
-#include <Geom_Surface.hxx>
-#include <TopoDS_Shape.hxx>
+#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
 
 //=======================================================================
 //function : GEOMAlgo_FinderShapeOn
@@ -68,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;
@@ -108,7 +112,7 @@ protected:
     void FindVertices() ;
 
 
-  Handle_Geom_Surface mySurface;
+  Handle(Geom_Surface) mySurface;
   TopAbs_ShapeEnum myShapeType;
   GEOMAlgo_State myState;
   TopoDS_Shape myArg1;