Salome HOME
Mantis issue 0021541: EDF 2213 GEOM: Filling accuracy
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ClsfSolid.hxx
index 8feb5337e6c7fa8b42c1e2e10f4a69317d7e81be..1715d88db27b2ca77531a4a4ad9fc88d5c4bd908 100644 (file)
@@ -1,12 +1,11 @@
-// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2007-2012  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
 // License as published by the Free Software Foundation; either
 // version 2.1 of the License.
 //
-// This library is distributed in the hope that it will be useful
+// This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Lesser General Public License for more details.
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
+// File:        GEOMAlgo_ClsfSolid.hxx
+// Created:     Mon Jan 29 10:35:46 2007
+// Author:      Peter KURNEV
+//              <pkv@irinox>
+//
 #ifndef _GEOMAlgo_ClsfSolid_HeaderFile
 #define _GEOMAlgo_ClsfSolid_HeaderFile
 
-#ifndef _Standard_HeaderFile
 #include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_ClsfSolid_HeaderFile
-#include <Handle_GEOMAlgo_ClsfSolid.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
+#include <Standard_DefineHandle.hxx>
+//#include <Handle_GEOMAlgo_ClsfSolid.hxx>
 #include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Address_HeaderFile
 #include <Standard_Address.hxx>
-#endif
-#ifndef _GEOMAlgo_Clsf_HeaderFile
 #include <GEOMAlgo_Clsf.hxx>
-#endif
-class TopoDS_Shape;
-
-
-
-class GEOMAlgo_ClsfSolid : public GEOMAlgo_Clsf {
-
-public:
- // Methods PUBLIC
- // 
-
-
-Standard_EXPORT GEOMAlgo_ClsfSolid();
-Standard_EXPORT virtual ~GEOMAlgo_ClsfSolid();
-
-
-Standard_EXPORT   void SetShape(const TopoDS_Shape& aS) ;
-
-
-Standard_EXPORT  const TopoDS_Shape& Shape() const;
 
+DEFINE_STANDARD_HANDLE(GEOMAlgo_ClsfSolid, GEOMAlgo_Clsf)
 
-Standard_EXPORT virtual  void Perform() ;
+//=======================================================================
+//class : GEOMAlgo_ClsfSolid
+//purpose  :
+//=======================================================================
+class GEOMAlgo_ClsfSolid : public GEOMAlgo_Clsf
+{
+ public:
+  Standard_EXPORT
+    GEOMAlgo_ClsfSolid();
 
+  Standard_EXPORT
+    virtual ~GEOMAlgo_ClsfSolid();
 
-Standard_EXPORT virtual  void CheckData() ;
-//Standard_EXPORT ~GEOMAlgo_ClsfSolid();
+  Standard_EXPORT
+    void SetShape(const TopoDS_Shape& aS) ;
 
+  Standard_EXPORT
+    const TopoDS_Shape& Shape() const;
 
+  Standard_EXPORT
+    virtual  void Perform() ;
 
+  Standard_EXPORT
+    virtual  void CheckData() ;
 
- // Type management
- //
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- //Standard_EXPORT Standard_Boolean           IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-TopoDS_Shape myShape;
-Standard_Address myPClsf;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
+  DEFINE_STANDARD_RTTI(GEOMAlgo_ClsfSolid)
 
+  protected:
+    TopoDS_Shape myShape;
+  Standard_Address myPClsf;
 
 };
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
 #endif