File indexing completed on 2025-01-18 10:03:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepFeat_MakeRevol_HeaderFile
0018 #define _BRepFeat_MakeRevol_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopoDS_Shape.hxx>
0025 #include <TopTools_DataMapOfShapeListOfShape.hxx>
0026 #include <gp_Ax1.hxx>
0027 #include <BRepFeat_StatusError.hxx>
0028 #include <BRepFeat_Form.hxx>
0029 #include <Standard_Integer.hxx>
0030 class Geom_Curve;
0031 class TopoDS_Face;
0032 class TopoDS_Edge;
0033
0034
0035
0036 class BRepFeat_MakeRevol : public BRepFeat_Form
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043
0044 BRepFeat_MakeRevol();
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055 BRepFeat_MakeRevol(const TopoDS_Shape& Sbase, const TopoDS_Shape& Pbase, const TopoDS_Face& Skface, const gp_Ax1& Axis, const Standard_Integer Fuse, const Standard_Boolean Modify);
0056
0057 Standard_EXPORT void Init (const TopoDS_Shape& Sbase, const TopoDS_Shape& Pbase, const TopoDS_Face& Skface, const gp_Ax1& Axis, const Standard_Integer Fuse, const Standard_Boolean Modify);
0058
0059
0060
0061
0062 Standard_EXPORT void Add (const TopoDS_Edge& E, const TopoDS_Face& OnFace);
0063
0064 Standard_EXPORT void Perform (const Standard_Real Angle);
0065
0066 Standard_EXPORT void Perform (const TopoDS_Shape& Until);
0067
0068
0069 Standard_EXPORT void Perform (const TopoDS_Shape& From, const TopoDS_Shape& Until);
0070
0071
0072
0073 Standard_EXPORT void PerformThruAll();
0074
0075
0076
0077
0078 Standard_EXPORT void PerformUntilAngle (const TopoDS_Shape& Until, const Standard_Real Angle);
0079
0080 Standard_EXPORT void Curves (TColGeom_SequenceOfCurve& S);
0081
0082 Standard_EXPORT Handle(Geom_Curve) BarycCurve();
0083
0084
0085
0086
0087 protected:
0088
0089
0090
0091
0092
0093 private:
0094
0095
0096
0097 TopoDS_Shape myPbase;
0098 TopTools_DataMapOfShapeListOfShape mySlface;
0099 gp_Ax1 myAxis;
0100 TColGeom_SequenceOfCurve myCurves;
0101 Handle(Geom_Curve) myBCurve;
0102 BRepFeat_StatusError myStatusError;
0103
0104
0105 };
0106
0107
0108 #include <BRepFeat_MakeRevol.lxx>
0109
0110
0111
0112
0113
0114 #endif