// 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 _AdvApp2Var_Iso_HeaderFile
#define _AdvApp2Var_Iso_HeaderFile

#ifndef _GeomAbs_IsoType_HeaderFile
#include <GeomAbs_IsoType.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_TColStd_HArray1OfReal_HeaderFile
#include <Handle_TColStd_HArray1OfReal.hxx>
#endif
#ifndef _Handle_TColStd_HArray2OfReal_HeaderFile
#include <Handle_TColStd_HArray2OfReal.hxx>
#endif
#ifndef _AdvApp2Var_EvaluatorFunc2Var_HeaderFile
#include <AdvApp2Var_EvaluatorFunc2Var.hxx>
#endif
class TColStd_HArray1OfReal;
class TColStd_HArray2OfReal;
class AdvApp2Var_Context;
class AdvApp2Var_Node;


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


class AdvApp2Var_Iso  {

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


Standard_EXPORT AdvApp2Var_Iso(const GeomAbs_IsoType type,const Standard_Integer iu,const Standard_Integer iv);


Standard_EXPORT AdvApp2Var_Iso(const GeomAbs_IsoType type,const Standard_Real cte,const Standard_Real Ufirst,const Standard_Real Ulast,const Standard_Real Vfirst,const Standard_Real Vlast,const Standard_Integer pos,const Standard_Integer iu,const Standard_Integer iv);


Standard_EXPORT   Standard_Boolean IsApproximated() const;


Standard_EXPORT   Standard_Boolean HasResult() const;


Standard_EXPORT   void MakeApprox(const AdvApp2Var_Context& Conditions,const Standard_Real a,const Standard_Real b,const Standard_Real c,const Standard_Real d,const AdvApp2Var_EvaluatorFunc2Var& func,AdvApp2Var_Node& NodeBegin,AdvApp2Var_Node& NodeEnd) ;


Standard_EXPORT   void ChangeDomain(const Standard_Real a,const Standard_Real b) ;


Standard_EXPORT   void ChangeDomain(const Standard_Real a,const Standard_Real b,const Standard_Real c,const Standard_Real d) ;


Standard_EXPORT   void SetConstante(const Standard_Real newcte) ;


Standard_EXPORT   void SetPosition(const Standard_Integer newpos) ;


Standard_EXPORT   void ResetApprox() ;


Standard_EXPORT   void OverwriteApprox() ;


Standard_EXPORT   GeomAbs_IsoType Type() const;


Standard_EXPORT   Standard_Real Constante() const;


Standard_EXPORT   Standard_Real T0() const;


Standard_EXPORT   Standard_Real T1() const;


Standard_EXPORT   Standard_Real U0() const;


Standard_EXPORT   Standard_Real U1() const;


Standard_EXPORT   Standard_Real V0() const;


Standard_EXPORT   Standard_Real V1() const;


Standard_EXPORT   Standard_Integer UOrder() const;


Standard_EXPORT   Standard_Integer VOrder() const;


Standard_EXPORT   Standard_Integer Position() const;


Standard_EXPORT   Standard_Integer NbCoeff() const;


Standard_EXPORT  const Handle_TColStd_HArray1OfReal& Polynom() const;


Standard_EXPORT   Handle_TColStd_HArray1OfReal SomTab() const;


Standard_EXPORT   Handle_TColStd_HArray1OfReal DifTab() const;


Standard_EXPORT   Handle_TColStd_HArray2OfReal MaxErrors() const;


Standard_EXPORT   Handle_TColStd_HArray2OfReal MoyErrors() const;





protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


Standard_EXPORT AdvApp2Var_Iso(const AdvApp2Var_Iso& Other);


 // Fields PRIVATE
 //
GeomAbs_IsoType myType;
Standard_Real myConstPar;
Standard_Real myU0;
Standard_Real myU1;
Standard_Real myV0;
Standard_Real myV1;
Standard_Integer myPosition;
Standard_Integer myExtremOrder;
Standard_Integer myDerivOrder;
Standard_Integer myNbCoeff;
Standard_Boolean myApprIsDone;
Standard_Boolean myHasResult;
Handle_TColStd_HArray1OfReal myEquation;
Handle_TColStd_HArray2OfReal myMaxErrors;
Handle_TColStd_HArray2OfReal myMoyErrors;
Handle_TColStd_HArray1OfReal mySomTab;
Handle_TColStd_HArray1OfReal myDifTab;


};





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


#endif
