File indexing completed on 2025-01-18 10:03:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepSweep_NumLinearRegularSweep_HeaderFile
0018 #define _BRepSweep_NumLinearRegularSweep_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <BRepSweep_Builder.hxx>
0024 #include <TopoDS_Shape.hxx>
0025 #include <BRepSweep_Tool.hxx>
0026 #include <Sweep_NumShapeTool.hxx>
0027 #include <TopTools_Array2OfShape.hxx>
0028 #include <TColStd_Array2OfBoolean.hxx>
0029 #include <TopAbs_Orientation.hxx>
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069 class BRepSweep_NumLinearRegularSweep
0070 {
0071 public:
0072
0073 DEFINE_STANDARD_ALLOC
0074
0075
0076
0077
0078 Standard_EXPORT virtual TopoDS_Shape MakeEmptyVertex (const TopoDS_Shape& aGenV, const Sweep_NumShape& aDirV) = 0;
0079 Standard_EXPORT virtual ~BRepSweep_NumLinearRegularSweep();
0080
0081
0082
0083 Standard_EXPORT virtual TopoDS_Shape MakeEmptyDirectingEdge (const TopoDS_Shape& aGenV, const Sweep_NumShape& aDirE) = 0;
0084
0085
0086
0087 Standard_EXPORT virtual TopoDS_Shape MakeEmptyGeneratingEdge (const TopoDS_Shape& aGenE, const Sweep_NumShape& aDirV) = 0;
0088
0089
0090
0091
0092 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;
0093
0094
0095
0096
0097 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;
0098
0099
0100
0101
0102 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;
0103
0104
0105
0106
0107
0108
0109 Standard_EXPORT virtual TopoDS_Shape MakeEmptyFace (const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS) = 0;
0110
0111
0112
0113
0114 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;
0115
0116
0117
0118
0119 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;
0120
0121
0122
0123
0124 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;
0125
0126
0127
0128
0129
0130 Standard_EXPORT virtual TopAbs_Orientation DirectSolid (const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS) = 0;
0131
0132
0133
0134
0135 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;
0136
0137
0138
0139
0140 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;
0141
0142
0143
0144
0145
0146 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;
0147
0148
0149
0150
0151
0152 Standard_EXPORT virtual TopoDS_Shape SplitShell (const TopoDS_Shape& aNewShape) const;
0153
0154
0155
0156
0157 Standard_EXPORT virtual void SetContinuity (const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS) = 0;
0158
0159
0160
0161
0162
0163 Standard_EXPORT virtual Standard_Boolean HasShape (const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS) const = 0;
0164
0165
0166 Standard_EXPORT virtual Standard_Boolean IsInvariant(const TopoDS_Shape& aGenS) const = 0;
0167
0168
0169
0170 Standard_EXPORT TopoDS_Shape Shape (const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS);
0171
0172
0173
0174 Standard_EXPORT TopoDS_Shape Shape (const TopoDS_Shape& aGenS);
0175
0176
0177
0178 Standard_EXPORT Standard_Boolean IsUsed(const TopoDS_Shape& aGenS) const;
0179
0180
0181
0182 Standard_EXPORT Standard_Boolean GenIsUsed(const TopoDS_Shape& theS) const;
0183
0184
0185
0186 Standard_EXPORT TopoDS_Shape Shape();
0187
0188
0189
0190 Standard_EXPORT TopoDS_Shape FirstShape();
0191
0192
0193
0194 Standard_EXPORT TopoDS_Shape LastShape();
0195
0196
0197
0198 Standard_EXPORT TopoDS_Shape FirstShape (const TopoDS_Shape& aGenS);
0199
0200
0201
0202 Standard_EXPORT TopoDS_Shape LastShape (const TopoDS_Shape& aGenS);
0203
0204 Standard_EXPORT Standard_Boolean Closed() const;
0205
0206
0207
0208
0209 protected:
0210
0211
0212
0213
0214 Standard_EXPORT BRepSweep_NumLinearRegularSweep(const BRepSweep_Builder& aBuilder, const TopoDS_Shape& aGenShape, const Sweep_NumShape& aDirWire);
0215
0216
0217 BRepSweep_Builder myBuilder;
0218 TopoDS_Shape myGenShape;
0219 Sweep_NumShape myDirWire;
0220 BRepSweep_Tool myGenShapeTool;
0221 Sweep_NumShapeTool myDirShapeTool;
0222 TopTools_Array2OfShape myShapes;
0223 TColStd_Array2OfBoolean myBuiltShapes;
0224 TColStd_Array2OfBoolean myUsedShapes;
0225
0226
0227 private:
0228
0229
0230
0231
0232
0233 };
0234
0235
0236
0237
0238
0239
0240
0241 #endif