1 //=============================================================================
2 // File : SMESH_Regular_1D.hxx
3 // Created : sam mai 18 08:11:54 CEST 2002
4 // Author : Paul RASCLE, EDF
6 // Copyright : EDF 2002
8 //=============================================================================
10 #ifndef _SMESH_REGULAR_1D_HXX_
11 #define _SMESH_REGULAR_1D_HXX_
13 #include "SMESH_1D_Algo.hxx"
15 class SMESH_LocalLength;
16 class SMESH_NumberOfSegments;
18 class SMESH_Regular_1D:
22 SMESH_Regular_1D(int hypId, int studyId, SMESH_Gen* gen);
23 virtual ~SMESH_Regular_1D();
25 virtual bool CheckHypothesis(SMESH_Mesh& aMesh,
26 const TopoDS_Shape& aShape);
28 virtual bool Compute(SMESH_Mesh& aMesh,
29 const TopoDS_Shape& aShape);
31 ostream & SaveTo(ostream & save);
32 istream & LoadFrom(istream & load);
33 friend ostream & operator << (ostream & save, SMESH_Regular_1D & hyp);
34 friend istream & operator >> (istream & load, SMESH_Regular_1D & hyp);
38 int _numberOfSegments;
39 SMESH_LocalLength* _hypLocalLength;
40 SMESH_NumberOfSegments* _hypNumberOfSegments;