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

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

#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
class StdFail_NotDone;
class Standard_DomainError;
class Standard_OutOfRange;
class TColgp_Array2OfPnt;
class TColStd_Array2OfReal;
class TColStd_Array1OfReal;
class TColStd_Array1OfInteger;
class TColgp_Array1OfPnt2d;


//! Bspline approximation of a surface.
class AppBlend_Approx 
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT virtual   Standard_Boolean IsDone()  const = 0;
  
  Standard_EXPORT virtual   void SurfShape (Standard_Integer& UDegree, Standard_Integer& VDegree, Standard_Integer& NbUPoles, Standard_Integer& NbVPoles, Standard_Integer& NbUKnots, Standard_Integer& NbVKnots)  const = 0;
  
  Standard_EXPORT virtual   void Surface (TColgp_Array2OfPnt& TPoles, TColStd_Array2OfReal& TWeights, TColStd_Array1OfReal& TUKnots, TColStd_Array1OfReal& TVKnots, TColStd_Array1OfInteger& TUMults, TColStd_Array1OfInteger& TVMults)  const = 0;
  
  Standard_EXPORT virtual   Standard_Integer UDegree()  const = 0;
  
  Standard_EXPORT virtual   Standard_Integer VDegree()  const = 0;
  
  Standard_EXPORT virtual  const  TColgp_Array2OfPnt& SurfPoles()  const = 0;
  
  Standard_EXPORT virtual  const  TColStd_Array2OfReal& SurfWeights()  const = 0;
  
  Standard_EXPORT virtual  const  TColStd_Array1OfReal& SurfUKnots()  const = 0;
  
  Standard_EXPORT virtual  const  TColStd_Array1OfReal& SurfVKnots()  const = 0;
  
  Standard_EXPORT virtual  const  TColStd_Array1OfInteger& SurfUMults()  const = 0;
  
  Standard_EXPORT virtual  const  TColStd_Array1OfInteger& SurfVMults()  const = 0;
  
  Standard_EXPORT virtual   Standard_Integer NbCurves2d()  const = 0;
  
  Standard_EXPORT virtual   void Curves2dShape (Standard_Integer& Degree, Standard_Integer& NbPoles, Standard_Integer& NbKnots)  const = 0;
  
  Standard_EXPORT virtual   void Curve2d (const Standard_Integer Index, TColgp_Array1OfPnt2d& TPoles, TColStd_Array1OfReal& TKnots, TColStd_Array1OfInteger& TMults)  const = 0;
  
  Standard_EXPORT virtual   Standard_Integer Curves2dDegree()  const = 0;
  
  Standard_EXPORT virtual  const  TColgp_Array1OfPnt2d& Curve2dPoles (const Standard_Integer Index)  const = 0;
  
  Standard_EXPORT virtual  const  TColStd_Array1OfReal& Curves2dKnots()  const = 0;
  
  Standard_EXPORT virtual  const  TColStd_Array1OfInteger& Curves2dMults()  const = 0;
  
  Standard_EXPORT virtual   void TolReached (Standard_Real& Tol3d, Standard_Real& Tol2d)  const = 0;
  
  Standard_EXPORT virtual   Standard_Real TolCurveOnSurf (const Standard_Integer Index)  const = 0;
  Standard_EXPORT virtual ~AppBlend_Approx();




protected:





private:





};







#endif // _AppBlend_Approx_HeaderFile
