0024624: Lost word in license statement in source files
[occt.git] / src / BRepSweep / BRepSweep_NumLinearRegularSweep.hxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 #ifndef _BRepSweep_NumLinearRegularSweep_HeaderFile
15 #define _BRepSweep_NumLinearRegularSweep_HeaderFile
16
17 #ifndef _BRepSweep_Builder_HeaderFile
18 #include <BRepSweep_Builder.hxx>
19 #endif
20 #ifndef _TopoDS_Shape_HeaderFile
21 #include <TopoDS_Shape.hxx>
22 #endif
23 #ifndef _Sweep_NumShape_HeaderFile
24 #include <Sweep_NumShape.hxx>
25 #endif
26 #ifndef _BRepSweep_Tool_HeaderFile
27 #include <BRepSweep_Tool.hxx>
28 #endif
29 #ifndef _Sweep_NumShapeTool_HeaderFile
30 #include <Sweep_NumShapeTool.hxx>
31 #endif
32 #ifndef _BRepSweep_Array2OfShapesOfNumLinearRegularSweep_HeaderFile
33 #include <BRepSweep_Array2OfShapesOfNumLinearRegularSweep.hxx>
34 #endif
35 #ifndef _TColStd_Array2OfBoolean_HeaderFile
36 #include <TColStd_Array2OfBoolean.hxx>
37 #endif
38 #ifndef _Handle_BRepSweep_SequenceNodeOfSequenceOfShapesOfNumLinearRegularSweep_HeaderFile
39 #include <Handle_BRepSweep_SequenceNodeOfSequenceOfShapesOfNumLinearRegularSweep.hxx>
40 #endif
41 #ifndef _TopAbs_Orientation_HeaderFile
42 #include <TopAbs_Orientation.hxx>
43 #endif
44 #ifndef _Standard_Boolean_HeaderFile
45 #include <Standard_Boolean.hxx>
46 #endif
47 class Standard_NoMoreObject;
48 class Standard_NoSuchObject;
49 class Standard_RangeError;
50 class Standard_DomainError;
51 class TopoDS_Shape;
52 class Sweep_NumShape;
53 class BRepSweep_Builder;
54 class BRepSweep_Tool;
55 class Sweep_NumShapeTool;
56 class BRepSweep_Iterator;
57 class Sweep_NumShapeIterator;
58 class BRepSweep_Array2OfShapesOfNumLinearRegularSweep;
59 class BRepSweep_SequenceOfShapesOfNumLinearRegularSweep;
60 class BRepSweep_SequenceNodeOfSequenceOfShapesOfNumLinearRegularSweep;
61
62
63 #ifndef _Standard_HeaderFile
64 #include <Standard.hxx>
65 #endif
66 #ifndef _Standard_DefineAlloc_HeaderFile
67 #include <Standard_DefineAlloc.hxx>
68 #endif
69 #ifndef _Standard_Macro_HeaderFile
70 #include <Standard_Macro.hxx>
71 #endif
72
73 class BRepSweep_NumLinearRegularSweep  {
74
75 public:
76
77   DEFINE_STANDARD_ALLOC
78
79  // Methods PUBLIC
80  // 
81 Standard_EXPORT virtual  void Delete() ;
82 Standard_EXPORT virtual ~BRepSweep_NumLinearRegularSweep()
83 {
84   Delete();
85 }
86
87 Standard_EXPORT virtual  TopoDS_Shape MakeEmptyVertex(const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirV)  = 0;
88 Standard_EXPORT virtual  TopoDS_Shape MakeEmptyDirectingEdge(const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirE)  = 0;
89 Standard_EXPORT virtual  TopoDS_Shape MakeEmptyGeneratingEdge(const TopoDS_Shape& aGenE,const Sweep_NumShape& aDirV)  = 0;
90 Standard_EXPORT virtual  void SetParameters(const TopoDS_Shape& aNewFace,TopoDS_Shape& aNewVertex,const TopoDS_Shape& aGenF,const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirV)  = 0;
91 Standard_EXPORT virtual  void SetDirectingParameter(const TopoDS_Shape& aNewEdge,TopoDS_Shape& aNewVertex,const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirE,const Sweep_NumShape& aDirV)  = 0;
92 Standard_EXPORT virtual  void SetGeneratingParameter(const TopoDS_Shape& aNewEdge,TopoDS_Shape& aNewVertex,const TopoDS_Shape& aGenE,const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirV)  = 0;
93 Standard_EXPORT virtual  TopoDS_Shape MakeEmptyFace(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS)  = 0;
94 Standard_EXPORT virtual  void SetPCurve(const TopoDS_Shape& aNewFace,TopoDS_Shape& aNewEdge,const TopoDS_Shape& aGenF,const TopoDS_Shape& aGenE,const Sweep_NumShape& aDirV,const TopAbs_Orientation orien)  = 0;
95 Standard_EXPORT virtual  void SetGeneratingPCurve(const TopoDS_Shape& aNewFace,TopoDS_Shape& aNewEdge,const TopoDS_Shape& aGenE,const Sweep_NumShape& aDirE,const Sweep_NumShape& aDirV,const TopAbs_Orientation orien)  = 0;
96 Standard_EXPORT virtual  void SetDirectingPCurve(const TopoDS_Shape& aNewFace,TopoDS_Shape& aNewEdge,const TopoDS_Shape& aGenE,const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirE,const TopAbs_Orientation orien)  = 0;
97 Standard_EXPORT virtual  TopAbs_Orientation DirectSolid(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS)  = 0;
98 Standard_EXPORT virtual  Standard_Boolean GGDShapeIsToAdd(const TopoDS_Shape& aNewShape,const TopoDS_Shape& aNewSubShape,const TopoDS_Shape& aGenS,const TopoDS_Shape& aSubGenS,const Sweep_NumShape& aDirS) const = 0;
99 Standard_EXPORT virtual  Standard_Boolean GDDShapeIsToAdd(const TopoDS_Shape& aNewShape,const TopoDS_Shape& aNewSubShape,const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS,const Sweep_NumShape& aSubDirS) const = 0;
100 Standard_EXPORT virtual  Standard_Boolean SeparatedWires(const TopoDS_Shape& aNewShape,const TopoDS_Shape& aNewSubShape,const TopoDS_Shape& aGenS,const TopoDS_Shape& aSubGenS,const Sweep_NumShape& aDirS) const = 0;
101 Standard_EXPORT virtual  TopoDS_Shape SplitShell(const TopoDS_Shape& aNewShape) const;
102 Standard_EXPORT virtual  void SetContinuity(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS)  = 0;
103 Standard_EXPORT virtual  Standard_Boolean HasShape(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS) const = 0;
104 Standard_EXPORT   TopoDS_Shape Shape(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS) ;
105 Standard_EXPORT   TopoDS_Shape Shape(const TopoDS_Shape& aGenS) ;
106 Standard_EXPORT   TopoDS_Shape Shape() ;
107 Standard_EXPORT   TopoDS_Shape FirstShape() ;
108 Standard_EXPORT   TopoDS_Shape LastShape() ;
109 Standard_EXPORT   TopoDS_Shape FirstShape(const TopoDS_Shape& aGenS) ;
110 Standard_EXPORT   TopoDS_Shape LastShape(const TopoDS_Shape& aGenS) ;
111 Standard_EXPORT   Standard_Boolean Closed() const;
112
113
114
115
116
117 protected:
118
119  // Methods PROTECTED
120  // 
121 Standard_EXPORT BRepSweep_NumLinearRegularSweep(const BRepSweep_Builder& aBuilder,const TopoDS_Shape& aGenShape,const Sweep_NumShape& aDirWire);
122
123
124  // Fields PROTECTED
125  //
126 BRepSweep_Builder myBuilder;
127 TopoDS_Shape myGenShape;
128 Sweep_NumShape myDirWire;
129 BRepSweep_Tool myGenShapeTool;
130 Sweep_NumShapeTool myDirShapeTool;
131 BRepSweep_Array2OfShapesOfNumLinearRegularSweep myShapes;
132 TColStd_Array2OfBoolean myBuiltShapes;
133
134
135 private: 
136
137  // Methods PRIVATE
138  // 
139
140
141  // Fields PRIVATE
142  //
143
144
145 };
146
147
148
149
150
151 // other Inline functions and methods (like "C++: function call" methods)
152 //
153
154
155 #endif