// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Extrema_FuncExtPS_HeaderFile #define _Extrema_FuncExtPS_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _gp_Pnt_HeaderFile #include #endif #ifndef _Adaptor3d_SurfacePtr_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _TColStd_SequenceOfReal_HeaderFile #include #endif #ifndef _Extrema_SequenceOfPOnSurf_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _math_FunctionSetWithDerivatives_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Standard_OutOfRange; class gp_Pnt; class Adaptor3d_Surface; class math_Vector; class math_Matrix; class Extrema_POnSurf; //! Fonction permettant de rechercher les extrema de la
//! distance entre un point et une surface.
class Extrema_FuncExtPS : public math_FunctionSetWithDerivatives { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT Extrema_FuncExtPS(); Standard_EXPORT Extrema_FuncExtPS(const gp_Pnt& P,const Adaptor3d_Surface& S); //! sets the field mysurf of the function.
Standard_EXPORT void Initialize(const Adaptor3d_Surface& S) ; //! sets the field mysurf of the function.
Standard_EXPORT void SetPoint(const gp_Pnt& P) ; Standard_EXPORT Standard_Integer NbVariables() const; Standard_EXPORT Standard_Integer NbEquations() const; //! Calcul de Fi(U,V).
Standard_EXPORT Standard_Boolean Value(const math_Vector& UV,math_Vector& F) ; //! Calcul de Fi'(U,V).
Standard_EXPORT Standard_Boolean Derivatives(const math_Vector& UV,math_Matrix& DF) ; //! Calcul de Fi(U,V) et Fi'(U,V).
Standard_EXPORT Standard_Boolean Values(const math_Vector& UV,math_Vector& F,math_Matrix& DF) ; //! Memorise l'extremum trouve.
Standard_EXPORT virtual Standard_Integer GetStateNumber() ; //! Renvoie le nombre d'extrema trouves.
Standard_EXPORT Standard_Integer NbExt() const; //! Renvoie la valeur de la Nieme distance.
Standard_EXPORT Standard_Real SquareDistance(const Standard_Integer N) const; //! Renvoie le Nieme extremum.
Standard_EXPORT Extrema_POnSurf Point(const Standard_Integer N) const; Standard_EXPORT Standard_Boolean HasDegIso() const; protected: private: Standard_EXPORT Adaptor3d_SurfacePtr Bidon() const; gp_Pnt myP; Adaptor3d_SurfacePtr myS; Standard_Real myU; Standard_Real myV; gp_Pnt myPs; TColStd_SequenceOfReal mySqDist; Extrema_SequenceOfPOnSurf myPoint; Standard_Boolean myPinit; Standard_Boolean mySinit; Standard_Boolean myUIsoIsDeg; Standard_Boolean myVIsoIsDeg; }; // other Inline functions and methods (like "C++: function call" methods) #endif