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_GenLocateExtCS_HeaderFile
0018 #define _Extrema_GenLocateExtCS_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <Extrema_POnCurv.hxx>
0024 #include <Extrema_POnSurf.hxx>
0025 class Adaptor3d_Curve;
0026 class Adaptor3d_Surface;
0027
0028
0029
0030
0031
0032 class Extrema_GenLocateExtCS
0033 {
0034 public:
0035
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039 Standard_EXPORT Extrema_GenLocateExtCS();
0040
0041
0042
0043
0044
0045
0046
0047 Standard_EXPORT Extrema_GenLocateExtCS(const Adaptor3d_Curve& C, const Adaptor3d_Surface& S, const Standard_Real T, const Standard_Real U, const Standard_Real V, const Standard_Real Tol1, const Standard_Real Tol2);
0048
0049 Standard_EXPORT void Perform (const Adaptor3d_Curve& C, const Adaptor3d_Surface& S, const Standard_Real T, const Standard_Real U, const Standard_Real V, const Standard_Real Tol1, const Standard_Real Tol2);
0050
0051
0052 Standard_EXPORT Standard_Boolean IsDone() const;
0053
0054
0055 Standard_EXPORT Standard_Real SquareDistance() const;
0056
0057
0058 Standard_EXPORT const Extrema_POnCurv& PointOnCurve() const;
0059
0060
0061 Standard_EXPORT const Extrema_POnSurf& PointOnSurface() const;
0062
0063
0064
0065
0066 protected:
0067
0068
0069
0070
0071
0072 private:
0073
0074
0075
0076 Standard_Boolean myDone;
0077 Standard_Real mySqDist;
0078 Extrema_POnCurv myPoint1;
0079 Extrema_POnSurf myPoint2;
0080
0081
0082 };
0083
0084
0085
0086
0087
0088
0089
0090 #endif