Salome HOME
PAL7722. Take into account edge orientation when Compute() uses a propagated hypothesis
[modules/smesh.git] / src / StdMeshers / StdMeshers_Propagation.cxx
1 //  SMESH SMESH : implementaion of SMESH idl descriptions
2 //
3 //  Copyright (C) 2003  CEA
4 //
5 //  This library is free software; you can redistribute it and/or
6 //  modify it under the terms of the GNU Lesser General Public
7 //  License as published by the Free Software Foundation; either
8 //  version 2.1 of the License.
9 //
10 //  This library is distributed in the hope that it will be useful,
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 //  Lesser General Public License for more details.
14 //
15 //  You should have received a copy of the GNU Lesser General Public
16 //  License along with this library; if not, write to the Free Software
17 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 //
19 //  See http://www.salome-platform.org or email : webmaster.salome@opencascade.org
20 //
21 //
22 //
23 //  File   : StdMeshers_Propagation.cxx
24 //  Module : SMESH
25 //  $Header$
26
27 using namespace std;
28 #include "StdMeshers_Propagation.hxx"
29 #include "utilities.h"
30
31 //=============================================================================
32 /*!
33  *
34  */
35 //=============================================================================
36 StdMeshers_Propagation::StdMeshers_Propagation (int hypId, int studyId,
37                                                 SMESH_Gen * gen)
38      : SMESH_Hypothesis(hypId, studyId, gen)
39 {
40   _name = GetName();
41   _param_algo_dim = -2;
42 }
43
44 //=============================================================================
45 /*!
46  *
47  */
48 //=============================================================================
49 StdMeshers_Propagation::~StdMeshers_Propagation()
50 {
51 }
52
53 //=============================================================================
54 /*!
55  *
56  */
57 //=============================================================================
58
59 ostream & StdMeshers_Propagation::SaveTo (ostream & save)
60 {
61   return save;
62 }
63
64 //=============================================================================
65 /*!
66  *
67  */
68 //=============================================================================
69 istream & StdMeshers_Propagation::LoadFrom (istream & load)
70 {
71   return load;
72 }
73
74 //=============================================================================
75 /*!
76  *
77  */
78 //=============================================================================
79 ostream & operator << (ostream & save, StdMeshers_Propagation & hyp)
80 {
81   return hyp.SaveTo(save);
82 }
83
84 //=============================================================================
85 /*!
86  *
87  */
88 //=============================================================================
89 istream & operator >> (istream & load, StdMeshers_Propagation & hyp)
90 {
91   return hyp.LoadFrom(load);
92 }
93
94 //=============================================================================
95 /*!
96  *  GetName
97  */
98 //=============================================================================
99 std::string StdMeshers_Propagation::GetName ()
100 {
101   return "Propagation";
102 }