Warning, file /include/opencascade/Extrema_GenLocateExtPS.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Extrema_GenLocateExtPS_HeaderFile
0018 #define _Extrema_GenLocateExtPS_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <Standard_Boolean.hxx>
0024 #include <Extrema_POnSurf.hxx>
0025 class gp_Pnt;
0026 class Adaptor3d_Surface;
0027
0028
0029
0030
0031
0032 class Extrema_GenLocateExtPS
0033 {
0034 public:
0035
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039 Standard_EXPORT Extrema_GenLocateExtPS(const Adaptor3d_Surface& theS,
0040 const Standard_Real theTolU = Precision::PConfusion(),
0041 const Standard_Real theTolV = Precision::PConfusion());
0042
0043
0044
0045
0046
0047
0048 Standard_EXPORT void Perform(const gp_Pnt& theP,
0049 const Standard_Real theU0,
0050 const Standard_Real theV0,
0051 const Standard_Boolean isDistanceCriteria = Standard_False);
0052
0053
0054 Standard_EXPORT Standard_Boolean IsDone() const;
0055
0056
0057 Standard_EXPORT Standard_Real SquareDistance() const;
0058
0059
0060 Standard_EXPORT const Extrema_POnSurf& Point() const;
0061
0062
0063
0064 Standard_EXPORT static Standard_Boolean IsMinDist(const gp_Pnt& theP, const Adaptor3d_Surface& theS,
0065 const Standard_Real theU0, const Standard_Real theV0);
0066
0067 private:
0068
0069 const Extrema_GenLocateExtPS& operator=(const Extrema_GenLocateExtPS&);
0070 Extrema_GenLocateExtPS(const Extrema_GenLocateExtPS&);
0071
0072
0073 const Adaptor3d_Surface& mySurf;
0074 Standard_Real myTolU, myTolV;
0075
0076
0077 Standard_Boolean myDone;
0078
0079
0080 Standard_Real mySqDist;
0081 Extrema_POnSurf myPoint;
0082
0083
0084 };
0085
0086
0087
0088
0089
0090
0091
0092 #endif