// 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 _HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile
#define _HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_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 <HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
#include <math_FunctionWithDerivative.hxx>
#include <Handle_HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx>
class Standard_OutOfRange;
class Standard_TypeMismatch;
class HLRBRep_CurveTool;
class Extrema_POnCurv2d;
class gp_Pnt2d;
class gp_Vec2d;
class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter;
class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter;



class HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter  : public math_FunctionWithDerivative
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter();
  
  Standard_EXPORT HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(const gp_Pnt2d& P, const Standard_Address& C);
  
  Standard_EXPORT   void Initialize (const Standard_Address& 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;
  HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter myPoint;
  Standard_Boolean myPinit;
  Standard_Boolean myCinit;
  Standard_Boolean myD1Init;
  Standard_Real myTol;
  Standard_Integer myMaxDerivOrder;
  Standard_Real myUinfium;
  Standard_Real myUsupremum;


};







#endif // _HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile
