1 //=============================================================================
2 // File : SMESH_2D_Algo.hxx
3 // Created : sam mai 18 09:23:37 CEST 2002
4 // Author : Paul RASCLE, EDF
6 // Copyright : EDF 2002
8 //=============================================================================
10 #ifndef _SMESH_2D_ALGO_HXX_
11 #define _SMESH_2D_ALGO_HXX_
13 #include "SMESH_Algo.hxx"
14 #include <TopoDS_Wire.hxx>
20 SMESH_2D_Algo(int hypId, int studyId, SMESH_Gen* gen);
21 virtual ~SMESH_2D_Algo();
23 int NumberOfWires(const TopoDS_Shape& S);
24 int NumberOfPoints(SMESH_Mesh& aMesh,const TopoDS_Wire& W);
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);