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_ExtPRevS_HeaderFile
0018 #define _Extrema_ExtPRevS_HeaderFile
0019
0020 #include <GeomAdaptor_SurfaceOfRevolution.hxx>
0021 #include <gp_Ax2.hxx>
0022 #include <Extrema_GenExtPS.hxx>
0023 #include <Extrema_POnSurf.hxx>
0024
0025 DEFINE_STANDARD_HANDLE(Extrema_ExtPRevS, Standard_Transient)
0026
0027
0028
0029
0030 class Extrema_ExtPRevS : public Standard_Transient
0031 {
0032
0033 public:
0034
0035
0036 Standard_EXPORT Extrema_ExtPRevS();
0037
0038
0039
0040 Standard_EXPORT Extrema_ExtPRevS(const gp_Pnt& P, const Handle(GeomAdaptor_SurfaceOfRevolution)& S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV);
0041
0042
0043
0044 Standard_EXPORT Extrema_ExtPRevS(const gp_Pnt& P, const Handle(GeomAdaptor_SurfaceOfRevolution)& S, const Standard_Real TolU, const Standard_Real TolV);
0045
0046 Standard_EXPORT void Initialize (const Handle(GeomAdaptor_SurfaceOfRevolution)& S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV);
0047
0048 Standard_EXPORT void Perform (const gp_Pnt& P);
0049
0050
0051 Standard_EXPORT Standard_Boolean IsDone() const;
0052
0053
0054 Standard_EXPORT Standard_Integer NbExt() const;
0055
0056
0057 Standard_EXPORT Standard_Real SquareDistance (const Standard_Integer N) const;
0058
0059
0060 Standard_EXPORT const Extrema_POnSurf& Point (const Standard_Integer N) const;
0061
0062
0063
0064
0065 DEFINE_STANDARD_RTTIEXT(Extrema_ExtPRevS,Standard_Transient)
0066
0067 protected:
0068
0069
0070
0071
0072 private:
0073
0074
0075 Handle(GeomAdaptor_SurfaceOfRevolution) myS;
0076 Standard_Real myvinf;
0077 Standard_Real myvsup;
0078 Standard_Real mytolv;
0079 gp_Ax2 myPosition;
0080 Extrema_GenExtPS myExtPS;
0081 Standard_Boolean myIsAnalyticallyComputable;
0082 Standard_Boolean myDone;
0083 Standard_Integer myNbExt;
0084 Standard_Real mySqDist[8];
0085 Extrema_POnSurf myPoint[8];
0086
0087
0088 };
0089
0090
0091
0092
0093
0094
0095
0096 #endif