// 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_PCFOfEPCOfExtPC2d_HeaderFile
#define _Extrema_PCFOfEPCOfExtPC2d_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <gp_Pnt2d.hxx>
#include <Standard_Address.hxx>
#include <Standard_Real.hxx>
#include <TColStd_SequenceOfReal.hxx>
#include <TColStd_SequenceOfInteger.hxx>
#include <Extrema_SeqPCOfPCFOfEPCOfExtPC2d.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
#include <math_FunctionWithDerivative.hxx>
#include <Handle_Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d.hxx>
class Standard_OutOfRange;
class Standard_TypeMismatch;
class Adaptor2d_Curve2d;
class Extrema_Curve2dTool;
class Extrema_POnCurv2d;
class gp_Pnt2d;
class gp_Vec2d;
class Extrema_SeqPCOfPCFOfEPCOfExtPC2d;
class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d;



class Extrema_PCFOfEPCOfExtPC2d  : public math_FunctionWithDerivative
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT Extrema_PCFOfEPCOfExtPC2d();
  
  Standard_EXPORT Extrema_PCFOfEPCOfExtPC2d(const gp_Pnt2d& P, const Adaptor2d_Curve2d& C);
  
  Standard_EXPORT   void Initialize (const Adaptor2d_Curve2d& C) ;
  
  Standard_EXPORT   void SetPoint (const gp_Pnt2d& P) ;
  
  Standard_EXPORT   Standard_Boolean Value (const Standard_Real U, Standard_Real& F) ;
  
  Standard_EXPORT   Standard_Boolean Derivative (const Standard_Real U, Standard_Real& DF) ;
  
  Standard_EXPORT   Standard_Boolean Values (const Standard_Real U, Standard_Real& F, Standard_Real& DF) ;
  
  Standard_EXPORT virtual   Standard_Integer GetStateNumber() ;
  
  Standard_EXPORT   Standard_Integer NbExt()  const;
  
  Standard_EXPORT   Standard_Real SquareDistance (const Standard_Integer N)  const;
  
  Standard_EXPORT   Standard_Boolean IsMin (const Standard_Integer N)  const;
  
  Standard_EXPORT  const  Extrema_POnCurv2d& Point (const Standard_Integer N)  const;
  
  Standard_EXPORT   void SubIntervalInitialize (const Standard_Real theUfirst, const Standard_Real theUlast) ;
  
  Standard_EXPORT   Standard_Real SearchOfTolerance() ;




protected:





private:



  gp_Pnt2d myP;
  Standard_Address myC;
  Standard_Real myU;
  gp_Pnt2d myPc;
  Standard_Real myD1f;
  TColStd_SequenceOfReal mySqDist;
  TColStd_SequenceOfInteger myIsMin;
  Extrema_SeqPCOfPCFOfEPCOfExtPC2d myPoint;
  Standard_Boolean myPinit;
  Standard_Boolean myCinit;
  Standard_Boolean myD1Init;
  Standard_Real myTol;
  Standard_Integer myMaxDerivOrder;
  Standard_Real myUinfium;
  Standard_Real myUsupremum;


};







#endif // _Extrema_PCFOfEPCOfExtPC2d_HeaderFile
