1 //=============================================================================
2 // File : SMESH_MaxElementArea.hxx
3 // Created : sam mai 18 23:14:04 CEST 2002
4 // Author : Paul RASCLE, EDF
6 // Copyright : EDF 2002
8 //=============================================================================
10 #ifndef _SMESH_MAXELEMENTAREA_HXX_
11 #define _SMESH_MAXELEMENTAREA_HXX_
13 #include "SMESH_Hypothesis.hxx"
14 #include "Utils_SALOME_Exception.hxx"
16 class SMESH_MaxElementArea:
17 public SMESH_Hypothesis
20 SMESH_MaxElementArea(int hypId, int studyId, SMESH_Gen* gen);
21 virtual ~SMESH_MaxElementArea();
23 void SetMaxArea(double maxArea)
24 throw (SALOME_Exception);
28 virtual ostream & SaveTo(ostream & save);
29 virtual istream & LoadFrom(istream & load);
30 friend ostream & operator << (ostream & save, SMESH_MaxElementArea & hyp);
31 friend istream & operator >> (istream & load, SMESH_MaxElementArea & hyp);