File indexing completed on 2025-01-18 10:03:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _FilletSurf_Builder_HeaderFile
0018 #define _FilletSurf_Builder_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <FilletSurf_InternalBuilder.hxx>
0025 #include <FilletSurf_StatusDone.hxx>
0026 #include <FilletSurf_ErrorTypeStatus.hxx>
0027 #include <TopTools_ListOfShape.hxx>
0028 #include <Standard_Real.hxx>
0029 #include <Standard_Integer.hxx>
0030 #include <FilletSurf_StatusType.hxx>
0031 class TopoDS_Shape;
0032 class Geom_Surface;
0033 class TopoDS_Face;
0034 class Geom_Curve;
0035 class Geom2d_Curve;
0036 class Geom_TrimmedCurve;
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047 class FilletSurf_Builder
0048 {
0049 public:
0050
0051 DEFINE_STANDARD_ALLOC
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 Standard_EXPORT FilletSurf_Builder(const TopoDS_Shape& S, const TopTools_ListOfShape& E, const Standard_Real R, const Standard_Real Ta = 1.0e-2, const Standard_Real Tapp3d = 1.0e-4, const Standard_Real Tapp2d = 1.0e-5);
0062
0063
0064 Standard_EXPORT void Perform();
0065
0066 Standard_EXPORT void Simulate();
0067
0068
0069
0070
0071
0072
0073 Standard_EXPORT FilletSurf_StatusDone IsDone() const;
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084 Standard_EXPORT FilletSurf_ErrorTypeStatus StatusError() const;
0085
0086
0087 Standard_EXPORT Standard_Integer NbSurface() const;
0088
0089
0090 Standard_EXPORT const Handle(Geom_Surface)& SurfaceFillet (const Standard_Integer Index) const;
0091
0092
0093
0094 Standard_EXPORT Standard_Real TolApp3d (const Standard_Integer Index) const;
0095
0096
0097 Standard_EXPORT const TopoDS_Face& SupportFace1 (const Standard_Integer Index) const;
0098
0099
0100 Standard_EXPORT const TopoDS_Face& SupportFace2 (const Standard_Integer Index) const;
0101
0102
0103 Standard_EXPORT const Handle(Geom_Curve)& CurveOnFace1 (const Standard_Integer Index) const;
0104
0105
0106 Standard_EXPORT const Handle(Geom_Curve)& CurveOnFace2 (const Standard_Integer Index) const;
0107
0108
0109 Standard_EXPORT const Handle(Geom2d_Curve)& PCurveOnFace1 (const Standard_Integer Index) const;
0110
0111
0112 Standard_EXPORT const Handle(Geom2d_Curve)& PCurve1OnFillet (const Standard_Integer Index) const;
0113
0114
0115 Standard_EXPORT const Handle(Geom2d_Curve)& PCurveOnFace2 (const Standard_Integer Index) const;
0116
0117
0118 Standard_EXPORT const Handle(Geom2d_Curve)& PCurve2OnFillet (const Standard_Integer Index) const;
0119
0120
0121 Standard_EXPORT Standard_Real FirstParameter() const;
0122
0123
0124 Standard_EXPORT Standard_Real LastParameter() const;
0125
0126 Standard_EXPORT FilletSurf_StatusType StartSectionStatus() const;
0127
0128 Standard_EXPORT FilletSurf_StatusType EndSectionStatus() const;
0129
0130 Standard_EXPORT Standard_Integer NbSection (const Standard_Integer IndexSurf) const;
0131
0132 Standard_EXPORT void Section (const Standard_Integer IndexSurf, const Standard_Integer IndexSec, Handle(Geom_TrimmedCurve)& Circ) const;
0133
0134
0135
0136
0137 protected:
0138
0139
0140
0141
0142
0143 private:
0144
0145
0146
0147 FilletSurf_InternalBuilder myIntBuild;
0148 FilletSurf_StatusDone myisdone;
0149 FilletSurf_ErrorTypeStatus myerrorstatus;
0150
0151
0152 };
0153
0154
0155
0156
0157
0158
0159
0160 #endif