// 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_ExtPC_HeaderFile
#define _Extrema_ExtPC_HeaderFile

#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _gp_Pnt_HeaderFile
#include <gp_Pnt.hxx>
#endif
#ifndef _Extrema_ExtPElC_HeaderFile
#include <Extrema_ExtPElC.hxx>
#endif
#ifndef _Extrema_SequenceOfPOnCurv_HeaderFile
#include <Extrema_SequenceOfPOnCurv.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Extrema_EPCOfExtPC_HeaderFile
#include <Extrema_EPCOfExtPC.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _GeomAbs_CurveType_HeaderFile
#include <GeomAbs_CurveType.hxx>
#endif
#ifndef _Extrema_SequenceOfBoolean_HeaderFile
#include <Extrema_SequenceOfBoolean.hxx>
#endif
#ifndef _TColStd_SequenceOfReal_HeaderFile
#include <TColStd_SequenceOfReal.hxx>
#endif
class StdFail_NotDone;
class Standard_OutOfRange;
class Standard_TypeMismatch;
class Adaptor3d_Curve;
class Extrema_CurveTool;
class Extrema_ExtPElC;
class gp_Pnt;
class gp_Vec;
class Extrema_POnCurv;
class Extrema_SequenceOfPOnCurv;
class Extrema_EPCOfExtPC;
class Extrema_PCFOfEPCOfExtPC;


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


class Extrema_ExtPC  {

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_ExtPC();


Standard_EXPORT Extrema_ExtPC(const gp_Pnt& P,const Adaptor3d_Curve& C,const Standard_Real Uinf,const Standard_Real Usup,const Standard_Real TolF = 1.0e-10);


Standard_EXPORT Extrema_ExtPC(const gp_Pnt& P,const Adaptor3d_Curve& C,const Standard_Real TolF = 1.0e-10);


Standard_EXPORT   void Initialize(const Adaptor3d_Curve& C,const Standard_Real Uinf,const Standard_Real Usup,const Standard_Real TolF = 1.0e-10) ;


Standard_EXPORT   void Perform(const gp_Pnt& P) ;


Standard_EXPORT   Standard_Boolean IsDone() const;


Standard_EXPORT   Standard_Real Value(const Standard_Integer N) const;


Standard_EXPORT   Standard_Integer NbExt() const;


Standard_EXPORT   Standard_Boolean IsMin(const Standard_Integer N) const;


Standard_EXPORT   Extrema_POnCurv Point(const Standard_Integer N) const;


Standard_EXPORT   void TrimmedDistances(Standard_Real& dist1,Standard_Real& dist2,gp_Pnt& P1,gp_Pnt& P2) const;





protected:

 // Methods PROTECTED
 // 


Standard_EXPORT   void IntervalPerform(const gp_Pnt& P) ;


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Standard_Address myC;
gp_Pnt Pf;
gp_Pnt Pl;
Extrema_ExtPElC myExtPElC;
Extrema_SequenceOfPOnCurv mypoint;
Standard_Boolean mydone;
Standard_Real mydist1;
Standard_Real mydist2;
Extrema_EPCOfExtPC myExtPC;
Standard_Real mytolu;
Standard_Real mytolf;
Standard_Integer mysample;
Standard_Real myintuinf;
Standard_Real myintusup;
Standard_Real myuinf;
Standard_Real myusup;
GeomAbs_CurveType type;
Extrema_SequenceOfBoolean myismin;
TColStd_SequenceOfReal myvalue;


};





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


#endif
