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