0026489: The class ShapeUpgrade_UnifySameDomain provides the results that are wrong...
[occt.git] / src / ShapeUpgrade / ShapeUpgrade_ShapeDivideClosedEdges.hxx
1 // Created on: 2000-05-25
2 // Created by: data exchange team
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _ShapeUpgrade_ShapeDivideClosedEdges_HeaderFile
17 #define _ShapeUpgrade_ShapeDivideClosedEdges_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
22
23 #include <ShapeUpgrade_ShapeDivide.hxx>
24 #include <Standard_Integer.hxx>
25 class TopoDS_Shape;
26
27
28
29 class ShapeUpgrade_ShapeDivideClosedEdges  : public ShapeUpgrade_ShapeDivide
30 {
31 public:
32
33   DEFINE_STANDARD_ALLOC
34
35   
36   //! Initialises tool with shape and default parameter.
37   Standard_EXPORT ShapeUpgrade_ShapeDivideClosedEdges(const TopoDS_Shape& S);
38   
39   //! Sets the number of cuts applied to divide closed edges.
40   //! The number of resulting faces will be num+1.
41   Standard_EXPORT void SetNbSplitPoints (const Standard_Integer num);
42
43
44
45
46 protected:
47
48
49
50
51
52 private:
53
54
55
56
57
58 };
59
60
61
62
63
64
65
66 #endif // _ShapeUpgrade_ShapeDivideClosedEdges_HeaderFile