File indexing completed on 2025-01-18 10:03:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Extrema_GenExtSS_HeaderFile
0018 #define _Extrema_GenExtSS_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TColgp_HArray2OfPnt.hxx>
0025 #include <Extrema_FuncExtSS.hxx>
0026
0027 class Adaptor3d_Surface;
0028 class Extrema_POnSurf;
0029
0030
0031
0032
0033 class Extrema_GenExtSS
0034 {
0035 public:
0036
0037 DEFINE_STANDARD_ALLOC
0038
0039
0040 Standard_EXPORT Extrema_GenExtSS();
0041
0042
0043 Standard_EXPORT ~Extrema_GenExtSS();
0044
0045
0046
0047
0048
0049
0050
0051
0052 Standard_EXPORT Extrema_GenExtSS(const Adaptor3d_Surface& S1, const Adaptor3d_Surface& S2, const Standard_Integer NbU, const Standard_Integer NbV, const Standard_Real Tol1, const Standard_Real Tol2);
0053
0054
0055
0056
0057
0058
0059
0060
0061 Standard_EXPORT Extrema_GenExtSS(const Adaptor3d_Surface& S1, const Adaptor3d_Surface& S2, const Standard_Integer NbU, const Standard_Integer NbV, const Standard_Real U1min, const Standard_Real U1sup, const Standard_Real V1min, const Standard_Real V1sup, const Standard_Real U2min, const Standard_Real U2sup, const Standard_Real V2min, const Standard_Real V2sup, const Standard_Real Tol1, const Standard_Real Tol2);
0062
0063 Standard_EXPORT void Initialize (const Adaptor3d_Surface& S2, const Standard_Integer NbU, const Standard_Integer NbV, const Standard_Real Tol2);
0064
0065 Standard_EXPORT void Initialize (const Adaptor3d_Surface& S2, const Standard_Integer NbU, const Standard_Integer NbV, const Standard_Real U2min, const Standard_Real U2sup, const Standard_Real V2min, const Standard_Real V2sup, const Standard_Real Tol2);
0066
0067
0068
0069
0070 Standard_EXPORT void Perform (const Adaptor3d_Surface& S1, const Standard_Real Tol1);
0071
0072
0073
0074
0075 Standard_EXPORT void Perform (const Adaptor3d_Surface& S1, const Standard_Real U1min, const Standard_Real U1sup, const Standard_Real V1min, const Standard_Real V1sup, const Standard_Real Tol1);
0076
0077
0078 Standard_EXPORT Standard_Boolean IsDone() const;
0079
0080
0081 Standard_EXPORT Standard_Integer NbExt() const;
0082
0083
0084 Standard_EXPORT Standard_Real SquareDistance (const Standard_Integer N) const;
0085
0086
0087 Standard_EXPORT const Extrema_POnSurf& PointOnS1 (const Standard_Integer N) const;
0088
0089
0090 Standard_EXPORT const Extrema_POnSurf& PointOnS2 (const Standard_Integer N) const;
0091
0092 private:
0093
0094
0095 Extrema_GenExtSS (const Extrema_GenExtSS& ) Standard_DELETE;
0096 Extrema_GenExtSS& operator= (const Extrema_GenExtSS& ) Standard_DELETE;
0097
0098 private:
0099
0100 Standard_Boolean myDone;
0101 Standard_Boolean myInit;
0102 Standard_Real myu1min;
0103 Standard_Real myu1sup;
0104 Standard_Real myv1min;
0105 Standard_Real myv1sup;
0106 Standard_Real myu2min;
0107 Standard_Real myu2sup;
0108 Standard_Real myv2min;
0109 Standard_Real myv2sup;
0110 Standard_Integer myusample;
0111 Standard_Integer myvsample;
0112 Handle(TColgp_HArray2OfPnt) mypoints1;
0113 Handle(TColgp_HArray2OfPnt) mypoints2;
0114 Standard_Real mytol1;
0115 Standard_Real mytol2;
0116 Extrema_FuncExtSS myF;
0117 const Adaptor3d_Surface* myS2;
0118
0119 };
0120
0121 #endif