File indexing completed on 2025-01-18 10:03:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Extrema_EPCOfExtPC2d_HeaderFile
0018 #define _Extrema_EPCOfExtPC2d_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <Extrema_PCFOfEPCOfExtPC2d.hxx>
0025 class StdFail_NotDone;
0026 class Standard_OutOfRange;
0027 class Standard_TypeMismatch;
0028 class Adaptor2d_Curve2d;
0029 class Extrema_Curve2dTool;
0030 class Extrema_POnCurv2d;
0031 class gp_Pnt2d;
0032 class gp_Vec2d;
0033 class Extrema_PCFOfEPCOfExtPC2d;
0034
0035 class Extrema_EPCOfExtPC2d
0036 {
0037 public:
0038
0039 DEFINE_STANDARD_ALLOC
0040
0041
0042 Standard_EXPORT Extrema_EPCOfExtPC2d();
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054 Standard_EXPORT Extrema_EPCOfExtPC2d(const gp_Pnt2d& P, const Adaptor2d_Curve2d& C, const Standard_Integer NbU, const Standard_Real TolU, const Standard_Real TolF);
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067 Standard_EXPORT Extrema_EPCOfExtPC2d(const gp_Pnt2d& P, const Adaptor2d_Curve2d& C, const Standard_Integer NbU, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real TolU, const Standard_Real TolF);
0068
0069
0070 Standard_EXPORT void Initialize (const Adaptor2d_Curve2d& C, const Standard_Integer NbU, const Standard_Real TolU, const Standard_Real TolF);
0071
0072
0073 Standard_EXPORT void Initialize (const Adaptor2d_Curve2d& C, const Standard_Integer NbU, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real TolU, const Standard_Real TolF);
0074
0075
0076 Standard_EXPORT void Initialize (const Adaptor2d_Curve2d& C);
0077
0078
0079 Standard_EXPORT void Initialize (const Standard_Integer NbU, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real TolU, const Standard_Real TolF);
0080
0081
0082
0083
0084 Standard_EXPORT void Perform (const gp_Pnt2d& P);
0085
0086
0087 Standard_EXPORT Standard_Boolean IsDone() const;
0088
0089
0090 Standard_EXPORT Standard_Integer NbExt() const;
0091
0092
0093 Standard_EXPORT Standard_Real SquareDistance (const Standard_Integer N) const;
0094
0095
0096
0097 Standard_EXPORT Standard_Boolean IsMin (const Standard_Integer N) const;
0098
0099
0100 Standard_EXPORT const Extrema_POnCurv2d& Point (const Standard_Integer N) const;
0101
0102
0103
0104
0105 protected:
0106
0107
0108
0109
0110
0111 private:
0112
0113
0114
0115 Standard_Boolean myDone;
0116 Standard_Boolean myInit;
0117 Standard_Integer mynbsample;
0118 Standard_Real myumin;
0119 Standard_Real myusup;
0120 Standard_Real mytolu;
0121 Standard_Real mytolF;
0122 Extrema_PCFOfEPCOfExtPC2d myF;
0123
0124
0125 };
0126
0127
0128
0129
0130
0131
0132
0133 #endif