0024624: Lost word in license statement in source files
[occt.git] / src / BRepSweep / BRepSweep_NumLinearRegularSweep.hxx
CommitLineData
973c2be1 1// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 2//
973c2be1 3// This file is part of Open CASCADE Technology software library.
b311480e 4//
d5f74e42 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
973c2be1 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.
b311480e 10//
973c2be1 11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
7fd59977 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
47class Standard_NoMoreObject;
48class Standard_NoSuchObject;
49class Standard_RangeError;
50class Standard_DomainError;
51class TopoDS_Shape;
52class Sweep_NumShape;
53class BRepSweep_Builder;
54class BRepSweep_Tool;
55class Sweep_NumShapeTool;
56class BRepSweep_Iterator;
57class Sweep_NumShapeIterator;
58class BRepSweep_Array2OfShapesOfNumLinearRegularSweep;
59class BRepSweep_SequenceOfShapesOfNumLinearRegularSweep;
60class BRepSweep_SequenceNodeOfSequenceOfShapesOfNumLinearRegularSweep;
61
62
63#ifndef _Standard_HeaderFile
64#include <Standard.hxx>
65#endif
1c35b92f 66#ifndef _Standard_DefineAlloc_HeaderFile
67#include <Standard_DefineAlloc.hxx>
68#endif
7fd59977 69#ifndef _Standard_Macro_HeaderFile
70#include <Standard_Macro.hxx>
71#endif
72
73class BRepSweep_NumLinearRegularSweep {
74
75public:
76
1c35b92f 77 DEFINE_STANDARD_ALLOC
78
7fd59977 79 // Methods PUBLIC
80 //
81Standard_EXPORT virtual void Delete() ;
82Standard_EXPORT virtual ~BRepSweep_NumLinearRegularSweep()
83{
84 Delete();
85}
86
87Standard_EXPORT virtual TopoDS_Shape MakeEmptyVertex(const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirV) = 0;
88Standard_EXPORT virtual TopoDS_Shape MakeEmptyDirectingEdge(const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirE) = 0;
89Standard_EXPORT virtual TopoDS_Shape MakeEmptyGeneratingEdge(const TopoDS_Shape& aGenE,const Sweep_NumShape& aDirV) = 0;
90Standard_EXPORT virtual void SetParameters(const TopoDS_Shape& aNewFace,TopoDS_Shape& aNewVertex,const TopoDS_Shape& aGenF,const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirV) = 0;
91Standard_EXPORT virtual void SetDirectingParameter(const TopoDS_Shape& aNewEdge,TopoDS_Shape& aNewVertex,const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirE,const Sweep_NumShape& aDirV) = 0;
92Standard_EXPORT virtual void SetGeneratingParameter(const TopoDS_Shape& aNewEdge,TopoDS_Shape& aNewVertex,const TopoDS_Shape& aGenE,const TopoDS_Shape& aGenV,const Sweep_NumShape& aDirV) = 0;
93Standard_EXPORT virtual TopoDS_Shape MakeEmptyFace(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS) = 0;
94Standard_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;
95Standard_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;
96Standard_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;
97Standard_EXPORT virtual TopAbs_Orientation DirectSolid(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS) = 0;
98Standard_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;
99Standard_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;
100Standard_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;
101Standard_EXPORT virtual TopoDS_Shape SplitShell(const TopoDS_Shape& aNewShape) const;
102Standard_EXPORT virtual void SetContinuity(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS) = 0;
103Standard_EXPORT virtual Standard_Boolean HasShape(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS) const = 0;
104Standard_EXPORT TopoDS_Shape Shape(const TopoDS_Shape& aGenS,const Sweep_NumShape& aDirS) ;
105Standard_EXPORT TopoDS_Shape Shape(const TopoDS_Shape& aGenS) ;
106Standard_EXPORT TopoDS_Shape Shape() ;
107Standard_EXPORT TopoDS_Shape FirstShape() ;
108Standard_EXPORT TopoDS_Shape LastShape() ;
109Standard_EXPORT TopoDS_Shape FirstShape(const TopoDS_Shape& aGenS) ;
110Standard_EXPORT TopoDS_Shape LastShape(const TopoDS_Shape& aGenS) ;
111Standard_EXPORT Standard_Boolean Closed() const;
112
113
114
115
116
117protected:
118
119 // Methods PROTECTED
120 //
121Standard_EXPORT BRepSweep_NumLinearRegularSweep(const BRepSweep_Builder& aBuilder,const TopoDS_Shape& aGenShape,const Sweep_NumShape& aDirWire);
122
123
124 // Fields PROTECTED
125 //
126BRepSweep_Builder myBuilder;
127TopoDS_Shape myGenShape;
128Sweep_NumShape myDirWire;
129BRepSweep_Tool myGenShapeTool;
130Sweep_NumShapeTool myDirShapeTool;
131BRepSweep_Array2OfShapesOfNumLinearRegularSweep myShapes;
132TColStd_Array2OfBoolean myBuiltShapes;
133
134
135private:
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