// File generated by CPPExt (Value)
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _Extrema_PCFOfEPCOfExtPC_HeaderFile
#define _Extrema_PCFOfEPCOfExtPC_HeaderFile

#ifndef _gp_Pnt_HeaderFile
#include <gp_Pnt.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _TColStd_SequenceOfReal_HeaderFile
#include <TColStd_SequenceOfReal.hxx>
#endif
#ifndef _TColStd_SequenceOfInteger_HeaderFile
#include <TColStd_SequenceOfInteger.hxx>
#endif
#ifndef _Extrema_SeqPCOfPCFOfEPCOfExtPC_HeaderFile
#include <Extrema_SeqPCOfPCFOfEPCOfExtPC.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _math_FunctionWithDerivative_HeaderFile
#include <math_FunctionWithDerivative.hxx>
#endif
#ifndef _Handle_Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_HeaderFile
#include <Handle_Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class Standard_OutOfRange;
class Standard_TypeMismatch;
class Adaptor3d_Curve;
class Extrema_CurveTool;
class Extrema_POnCurv;
class gp_Pnt;
class gp_Vec;
class Extrema_SeqPCOfPCFOfEPCOfExtPC;
class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC;


#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif


class Extrema_PCFOfEPCOfExtPC  : public math_FunctionWithDerivative {

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); 
      }
 // Methods PUBLIC
 // 


Standard_EXPORT Extrema_PCFOfEPCOfExtPC();


Standard_EXPORT Extrema_PCFOfEPCOfExtPC(const gp_Pnt& P,const Adaptor3d_Curve& C);


Standard_EXPORT   void Initialize(const Adaptor3d_Curve& C) ;


Standard_EXPORT   void SetPoint(const gp_Pnt& 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 Value(const Standard_Integer N) const;


Standard_EXPORT   Standard_Boolean IsMin(const Standard_Integer N) const;


Standard_EXPORT   Extrema_POnCurv Point(const Standard_Integer N) const;





protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
gp_Pnt myP;
Standard_Address myC;
Standard_Real myU;
gp_Pnt myPc;
Standard_Real myD1f;
TColStd_SequenceOfReal myValue;
TColStd_SequenceOfInteger myIsMin;
Extrema_SeqPCOfPCFOfEPCOfExtPC myPoint;
Standard_Boolean myPinit;
Standard_Boolean myCinit;
Standard_Boolean myD1Init;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
