Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMESH / SMESH_2D_Algo.hxx
1 //=============================================================================
2 // File      : SMESH_2D_Algo.hxx
3 // Created   : sam mai 18 09:23:37 CEST 2002
4 // Author    : Paul RASCLE, EDF
5 // Project   : SALOME
6 // Copyright : EDF 2002
7 // $Header$
8 //=============================================================================
9
10 #ifndef _SMESH_2D_ALGO_HXX_
11 #define _SMESH_2D_ALGO_HXX_
12
13 #include "SMESH_Algo.hxx"
14 #include <TopoDS_Wire.hxx>
15
16 class SMESH_2D_Algo:
17   public SMESH_Algo
18 {
19 public:
20   SMESH_2D_Algo(int hypId, int studyId, SMESH_Gen* gen);
21   virtual ~SMESH_2D_Algo();
22
23   int NumberOfWires(const TopoDS_Shape& S);
24   int NumberOfPoints(SMESH_Mesh& aMesh,const TopoDS_Wire& W);
25
26   virtual ostream & SaveTo(ostream & save);
27   virtual istream & LoadFrom(istream & load);
28   friend ostream& operator << (ostream & save, SMESH_2D_Algo & hyp);
29   friend istream& operator >> (istream & load, SMESH_2D_Algo & hyp);
30
31 protected:
32 };
33
34 #endif