Salome HOME
0023505: Sigsegv with fuse on cylinder and cone
[modules/geom.git] / src / ShHealOper / ShHealOper_SplitCurve3d.hxx
1 // Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 // File:      ShHealOper_SplitCurve3d.hxx
24 // Created:   05.05.04 12:28:13
25 // Author:    Galina KULIKOVA
26 //
27 #ifndef ShHealOper_SplitCurve3d_HeaderFile
28 #define ShHealOper_SplitCurve3d_HeaderFile
29
30 #include <Basics_OCCTVersion.hxx>
31
32 #include <ShapeUpgrade_SplitCurve3d.hxx>
33 #include <TColStd_HSequenceOfReal.hxx>
34 #include <Standard_DefineHandle.hxx>
35
36 ///  Class ShHealOper_SplitCurve3d
37 //Auxiliary class for class ShHealOper_EdgeDivide
38
39 class ShHealOper_SplitCurve3d : public ShapeUpgrade_SplitCurve3d
40 {
41  public:
42   // ---------- PUBLIC METHODS ----------
43
44   
45   Standard_EXPORT ShHealOper_SplitCurve3d () : ShapeUpgrade_SplitCurve3d() {}
46   // Empty constructor
47
48   Standard_EXPORT virtual void Compute();
49   
50   inline void SetValues(const Handle(TColStd_HSequenceOfReal)& theValues)
51   {
52     myValues = theValues;
53   } 
54
55
56  private:
57   // ---------- PRIVATE FIELDS ----------
58   Handle(TColStd_HSequenceOfReal) myValues;
59
60
61
62  public:
63 // Declaration of CASCADE RTTI
64   OCCT_DEFINE_STANDARD_RTTIEXT(ShHealOper_SplitCurve3d,ShapeUpgrade_SplitCurve3d)
65 };
66
67 // Definition of HANDLE object using Standard_DefineHandle.hxx
68 DEFINE_STANDARD_HANDLE (ShHealOper_SplitCurve3d,ShapeUpgrade_SplitCurve3d)
69
70
71 #endif