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_LocateExtPC_HeaderFile
0018 #define _Extrema_LocateExtPC_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <Extrema_LocEPCOfLocateExtPC.hxx>
0024 #include <Extrema_ELPCOfLocateExtPC.hxx>
0025 #include <GeomAbs_CurveType.hxx>
0026 #include <Standard_Integer.hxx>
0027 class Standard_DomainError;
0028 class StdFail_NotDone;
0029 class Adaptor3d_Curve;
0030 class Extrema_CurveTool;
0031 class Extrema_ExtPElC;
0032 class gp_Pnt;
0033 class gp_Vec;
0034 class Extrema_POnCurv;
0035 class Extrema_ELPCOfLocateExtPC;
0036 class Extrema_EPCOfELPCOfLocateExtPC;
0037 class Extrema_LocEPCOfLocateExtPC;
0038 class Extrema_PCLocFOfLocEPCOfLocateExtPC;
0039
0040
0041
0042 class Extrema_LocateExtPC
0043 {
0044 public:
0045
0046 DEFINE_STANDARD_ALLOC
0047
0048
0049 Standard_EXPORT Extrema_LocateExtPC();
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060 Standard_EXPORT Extrema_LocateExtPC(const gp_Pnt& P, const Adaptor3d_Curve& C, const Standard_Real U0, const Standard_Real TolF);
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072 Standard_EXPORT Extrema_LocateExtPC(const gp_Pnt& P, const Adaptor3d_Curve& C, const Standard_Real U0, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real TolF);
0073
0074
0075 Standard_EXPORT void Initialize (const Adaptor3d_Curve& C, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real TolF);
0076
0077 Standard_EXPORT void Perform (const gp_Pnt& P, const Standard_Real U0);
0078
0079
0080 Standard_EXPORT Standard_Boolean IsDone() const;
0081
0082
0083 Standard_EXPORT Standard_Real SquareDistance() const;
0084
0085
0086 Standard_EXPORT Standard_Boolean IsMin() const;
0087
0088
0089 Standard_EXPORT const Extrema_POnCurv& Point() const;
0090
0091
0092
0093
0094 protected:
0095
0096
0097
0098
0099
0100 private:
0101
0102
0103
0104 Extrema_POnCurv mypp;
0105 Standard_Address myC;
0106 Standard_Real mydist2;
0107 Standard_Boolean myismin;
0108 Standard_Boolean myDone;
0109 Standard_Real myumin;
0110 Standard_Real myusup;
0111 Standard_Real mytol;
0112 Extrema_LocEPCOfLocateExtPC myLocExtPC;
0113 Extrema_ELPCOfLocateExtPC myExtremPC;
0114 GeomAbs_CurveType type;
0115 Standard_Integer numberext;
0116
0117
0118 };
0119
0120
0121
0122
0123
0124
0125
0126 #endif