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

#ifndef _IGESToBRep_CurveAndSurface_HeaderFile
#include <IGESToBRep_CurveAndSurface.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Geom_Surface_HeaderFile
#include <Handle_Geom_Surface.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_Geom_Plane_HeaderFile
#include <Handle_Geom_Plane.hxx>
#endif
#ifndef _Handle_IGESSolid_PlaneSurface_HeaderFile
#include <Handle_IGESSolid_PlaneSurface.hxx>
#endif
#ifndef _Handle_Geom_CylindricalSurface_HeaderFile
#include <Handle_Geom_CylindricalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_CylindricalSurface_HeaderFile
#include <Handle_IGESSolid_CylindricalSurface.hxx>
#endif
#ifndef _Handle_Geom_ConicalSurface_HeaderFile
#include <Handle_Geom_ConicalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_ConicalSurface_HeaderFile
#include <Handle_IGESSolid_ConicalSurface.hxx>
#endif
#ifndef _Handle_Geom_SphericalSurface_HeaderFile
#include <Handle_Geom_SphericalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_SphericalSurface_HeaderFile
#include <Handle_IGESSolid_SphericalSurface.hxx>
#endif
#ifndef _Handle_Geom_ToroidalSurface_HeaderFile
#include <Handle_Geom_ToroidalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_ToroidalSurface_HeaderFile
#include <Handle_IGESSolid_ToroidalSurface.hxx>
#endif
#ifndef _Handle_Geom_BSplineSurface_HeaderFile
#include <Handle_Geom_BSplineSurface.hxx>
#endif
#ifndef _Handle_IGESGeom_SplineSurface_HeaderFile
#include <Handle_IGESGeom_SplineSurface.hxx>
#endif
#ifndef _Handle_IGESGeom_BSplineSurface_HeaderFile
#include <Handle_IGESGeom_BSplineSurface.hxx>
#endif
class IGESToBRep_CurveAndSurface;
class Geom_Surface;
class IGESData_IGESEntity;
class Geom_Plane;
class IGESSolid_PlaneSurface;
class Geom_CylindricalSurface;
class IGESSolid_CylindricalSurface;
class Geom_ConicalSurface;
class IGESSolid_ConicalSurface;
class Geom_SphericalSurface;
class IGESSolid_SphericalSurface;
class Geom_ToroidalSurface;
class IGESSolid_ToroidalSurface;
class Geom_BSplineSurface;
class IGESGeom_SplineSurface;
class IGESGeom_BSplineSurface;


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

//! Provides methods to transfer basic geometric surface entities <br>
//!         from IGES to CASCADE. <br>
//!         These can be : <br>
//!         * Spline surface <br>
//!         * BSpline surface <br>
class IGESToBRep_BasicSurface  : public IGESToBRep_CurveAndSurface {

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
 // 

//! Creates  a tool BasicSurface  ready  to  run, with <br>
//!          epsilons  set  to  1.E-04,  TheModeTopo  to  True,  the <br>
//!          optimization of  the continuity to False. <br>
Standard_EXPORT IGESToBRep_BasicSurface();

//! Creates a tool BasicSurface ready to run and sets its <br>
//!          fields as CS's. <br>
Standard_EXPORT IGESToBRep_BasicSurface(const IGESToBRep_CurveAndSurface& CS);

//! Creates a tool BasicSurface ready to run. <br>
Standard_EXPORT IGESToBRep_BasicSurface(const Standard_Real eps,const Standard_Real epsGeom,const Standard_Real epsCoeff,const Standard_Boolean mode,const Standard_Boolean modeapprox,const Standard_Boolean optimized);

//! Returns Surface  from Geom if the last transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_Surface TransferBasicSurface(const Handle(IGESData_IGESEntity)& start) ;

//! Returns Plane from Geom if the transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_Plane TransferPlaneSurface(const Handle(IGESSolid_PlaneSurface)& start) ;

//! Returns CylindricalSurface from Geom if the transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_CylindricalSurface TransferRigthCylindricalSurface(const Handle(IGESSolid_CylindricalSurface)& start) ;

//! Returns ConicalSurface from Geom if the transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_ConicalSurface TransferRigthConicalSurface(const Handle(IGESSolid_ConicalSurface)& start) ;

//! Returns SphericalSurface from Geom if the transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_SphericalSurface TransferSphericalSurface(const Handle(IGESSolid_SphericalSurface)& start) ;

//! Returns SphericalSurface from Geom if the transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_ToroidalSurface TransferToroidalSurface(const Handle(IGESSolid_ToroidalSurface)& start) ;

//! Returns BSplineSurface  from Geom if the transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_BSplineSurface TransferSplineSurface(const Handle(IGESGeom_SplineSurface)& start) ;

//! Returns BSplineSurface  from Geom if the transfer has <br>
//!          succeded. <br>
Standard_EXPORT   Handle_Geom_BSplineSurface TransferBSplineSurface(const Handle(IGESGeom_BSplineSurface)& start) ;





protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //


};





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


#endif
