Salome HOME
Migration to OCCT 7.0
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ClsfSurf.hxx
index 44064d786abf6d7dade1ec6eef6540be90089782..8aabf7344e8fce370c76acca2002f127c7f6f641 100644 (file)
 
 #include <Standard.hxx>
 #include <Standard_DefineHandle.hxx>
-#include <Handle_Geom_Surface.hxx>
 #include <GeomAdaptor_Surface.hxx>
 #include <GEOMAlgo_Clsf.hxx>
 #include <Standard_Boolean.hxx>
-#include <Handle_Geom_Curve.hxx>
 #include <Geom_Surface.hxx>
 #include <Geom_Curve.hxx>
 
@@ -57,7 +55,7 @@ class GEOMAlgo_ClsfSurf : public GEOMAlgo_Clsf
     void SetSurface(const Handle(Geom_Surface)& aS) ;
 
   Standard_EXPORT
-    const Handle_Geom_Surface& Surface() const;
+    const Handle(Geom_Surface)& Surface() const;
 
   Standard_EXPORT
     virtual  void Perform() ;
@@ -71,10 +69,10 @@ class GEOMAlgo_ClsfSurf : public GEOMAlgo_Clsf
   Standard_EXPORT
     virtual  Standard_Boolean CanBeON(const Handle(Geom_Surface)& aST) const;
 
-  DEFINE_STANDARD_RTTI(GEOMAlgo_ClsfSurf);
+  OCCT_DEFINE_STANDARD_RTTIEXT(GEOMAlgo_ClsfSurf,GEOMAlgo_Clsf)
 
  protected:
-  Handle_Geom_Surface myS;
+  Handle(Geom_Surface) myS;
   GeomAdaptor_Surface myGAS;
 };
 #endif