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

#ifndef _Handle_Adaptor2d_HCurve2d_HeaderFile
#include <Handle_Adaptor2d_HCurve2d.hxx>
#endif
#ifndef _Handle_Adaptor3d_HSurface_HeaderFile
#include <Handle_Adaptor3d_HSurface.hxx>
#endif
#ifndef _Handle_Adaptor3d_HVertex_HeaderFile
#include <Handle_Adaptor3d_HVertex.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class Adaptor2d_HCurve2d;
class Adaptor3d_HSurface;
class BRepBlend_HCurve2dTool;
class BRepBlend_HSurfaceTool;
class Adaptor3d_HVertex;
class gp_Pnt2d;


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


class BRepBlend_BlendTool  {

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 static  Standard_Boolean Project(const gp_Pnt2d& P,const Handle(Adaptor3d_HSurface)& S,const Handle(Adaptor2d_HCurve2d)& C,Standard_Real& Paramproj,Standard_Real& Dist) ;


Standard_EXPORT static  Standard_Boolean Inters(const gp_Pnt2d& P1,const gp_Pnt2d& P2,const Handle(Adaptor3d_HSurface)& S,const Handle(Adaptor2d_HCurve2d)& C,Standard_Real& Param,Standard_Real& Dist) ;

static  Standard_Real Parameter(const Handle(Adaptor3d_HVertex)& V,const Handle(Adaptor2d_HCurve2d)& A) ;

static  Standard_Real Tolerance(const Handle(Adaptor3d_HVertex)& V,const Handle(Adaptor2d_HCurve2d)& A) ;

static  Standard_Boolean SingularOnUMin(const Handle(Adaptor3d_HSurface)& S) ;

static  Standard_Boolean SingularOnUMax(const Handle(Adaptor3d_HSurface)& S) ;

static  Standard_Boolean SingularOnVMin(const Handle(Adaptor3d_HSurface)& S) ;

static  Standard_Boolean SingularOnVMax(const Handle(Adaptor3d_HSurface)& S) ;


Standard_EXPORT static  Standard_Integer NbSamplesU(const Handle(Adaptor3d_HSurface)& S,const Standard_Real u1,const Standard_Real u2) ;


Standard_EXPORT static  Standard_Integer NbSamplesV(const Handle(Adaptor3d_HSurface)& S,const Standard_Real v1,const Standard_Real v2) ;


Standard_EXPORT static  void Bounds(const Handle(Adaptor2d_HCurve2d)& C,Standard_Real& Ufirst,Standard_Real& Ulast) ;

static  Handle_Adaptor2d_HCurve2d CurveOnSurf(const Handle(Adaptor2d_HCurve2d)& C,const Handle(Adaptor3d_HSurface)& S) ;





protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //


};

#define HCurve2d Handle_Adaptor2d_HCurve2d
#define HCurve2d_hxx <Adaptor2d_HCurve2d.hxx>
#define HSurface Handle_Adaptor3d_HSurface
#define HSurface_hxx <Adaptor3d_HSurface.hxx>
#define HCurve2dTool BRepBlend_HCurve2dTool
#define HCurve2dTool_hxx <BRepBlend_HCurve2dTool.hxx>
#define HSurfaceTool BRepBlend_HSurfaceTool
#define HSurfaceTool_hxx <BRepBlend_HSurfaceTool.hxx>
#define HVertex Handle_Adaptor3d_HVertex
#define HVertex_hxx <Adaptor3d_HVertex.hxx>
#define BRepBlend_BlendToolGen BRepBlend_BlendTool
#define BRepBlend_BlendToolGen_hxx <BRepBlend_BlendTool.hxx>

#include <BRepBlend_BlendToolGen.lxx>

#undef HCurve2d
#undef HCurve2d_hxx
#undef HSurface
#undef HSurface_hxx
#undef HCurve2dTool
#undef HCurve2dTool_hxx
#undef HSurfaceTool
#undef HSurfaceTool_hxx
#undef HVertex
#undef HVertex_hxx
#undef BRepBlend_BlendToolGen
#undef BRepBlend_BlendToolGen_hxx


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


#endif
