Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / ShHealOper / ShHealOper_SplitCurve2d.hxx
1 // File:      ShHealOper_SplitCurve2d.hxx
2 // Created:   05.05.04 12:56:01
3 // Author:    Galina KULIKOVA
4 //  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
5 //  Copyright (C) 2003  CEA
6 //
7 //  This library is free software; you can redistribute it and/or
8 //  modify it under the terms of the GNU Lesser General Public
9 //  License as published by the Free Software Foundation; either
10 //  version 2.1 of the License.
11 //
12
13 //  This library is distributed in the hope that it will be useful,
14 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 //  Lesser General Public License for more details.
17 //
18 //  You should have received a copy of the GNU Lesser General Public
19 //  License along with this library; if not, write to the Free Software
20 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21 //
22
23
24 #ifndef ShHealOper_SplitCurve2d_HeaderFile
25 #define ShHealOper_SplitCurve2d_HeaderFile
26
27 #include <ShapeUpgrade_SplitCurve2d.hxx>
28 #include <TColStd_HSequenceOfReal.hxx>
29 #include <Standard_DefineHandle.hxx>
30 ///  Class ShHealOper_SplitCurve2d
31 //Auxiliary class for class ShHealOper_EdgeDivide
32
33 class ShHealOper_SplitCurve2d : public ShapeUpgrade_SplitCurve2d
34 {
35  public:
36   // ---------- PUBLIC METHODS ----------
37
38   
39   Standard_EXPORT ShHealOper_SplitCurve2d () : ShapeUpgrade_SplitCurve2d() {}
40   // Empty constructor
41   
42   Standard_EXPORT virtual void Compute();
43   
44   inline void SetValues(const Handle(TColStd_HSequenceOfReal)& theValues)
45   {
46     myValues = theValues;
47   } 
48
49
50
51  private:
52   // ---------- PRIVATE FIELDS ----------
53
54   Handle(TColStd_HSequenceOfReal) myValues;
55
56
57  public:
58 // Declaration of CASCADE RTTI
59 DEFINE_STANDARD_RTTI (ShHealOper_SplitCurve2d)
60 };
61
62 // Definition of HANDLE object using Standard_DefineHandle.hxx
63 DEFINE_STANDARD_HANDLE (ShHealOper_SplitCurve2d,ShapeUpgrade_SplitCurve2d )
64
65
66 #endif