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_Revol_HeaderFile
0018 #define _BRepSweep_Revol_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <BRepSweep_Rotation.hxx>
0025 #include <Standard_Boolean.hxx>
0026 class TopoDS_Shape;
0027 class gp_Ax1;
0028 class Sweep_NumShape;
0029 class TopLoc_Location;
0030
0031
0032
0033
0034 class BRepSweep_Revol
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041
0042
0043 Standard_EXPORT BRepSweep_Revol(const TopoDS_Shape& S, const gp_Ax1& A, const Standard_Real D, const Standard_Boolean C = Standard_False);
0044
0045
0046
0047 Standard_EXPORT BRepSweep_Revol(const TopoDS_Shape& S, const gp_Ax1& A, const Standard_Boolean C = Standard_False);
0048
0049
0050 Standard_EXPORT TopoDS_Shape Shape();
0051
0052
0053
0054 Standard_EXPORT TopoDS_Shape Shape (const TopoDS_Shape& aGenS);
0055
0056
0057
0058 Standard_EXPORT TopoDS_Shape FirstShape();
0059
0060
0061
0062 Standard_EXPORT TopoDS_Shape FirstShape (const TopoDS_Shape& aGenS);
0063
0064
0065 Standard_EXPORT TopoDS_Shape LastShape();
0066
0067
0068
0069
0070 Standard_EXPORT TopoDS_Shape LastShape (const TopoDS_Shape& aGenS);
0071
0072
0073 Standard_EXPORT gp_Ax1 Axe() const;
0074
0075
0076 Standard_EXPORT Standard_Real Angle() const;
0077
0078
0079 Standard_EXPORT Standard_Boolean IsUsed(const TopoDS_Shape& aGenS) const;
0080
0081
0082 private:
0083
0084
0085 Standard_EXPORT Sweep_NumShape NumShape (const Standard_Real D) const;
0086
0087
0088 Standard_EXPORT TopLoc_Location Location (const gp_Ax1& Ax, const Standard_Real D) const;
0089
0090
0091 Standard_EXPORT gp_Ax1 Axe (const gp_Ax1& Ax, const Standard_Real D) const;
0092
0093
0094 Standard_EXPORT Standard_Real Angle (const Standard_Real D) const;
0095
0096
0097 BRepSweep_Rotation myRotation;
0098
0099
0100 };
0101
0102 #endif