Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:04

0001 // Created on: 1994-03-14
0002 // Created by: Frederic UNTEREINER
0003 // Copyright (c) 1994-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _IGESToBRep_BasicSurface_HeaderFile
0018 #define _IGESToBRep_BasicSurface_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <IGESToBRep_CurveAndSurface.hxx>
0025 class Geom_Surface;
0026 class IGESData_IGESEntity;
0027 class Geom_Plane;
0028 class IGESSolid_PlaneSurface;
0029 class Geom_CylindricalSurface;
0030 class IGESSolid_CylindricalSurface;
0031 class Geom_ConicalSurface;
0032 class IGESSolid_ConicalSurface;
0033 class Geom_SphericalSurface;
0034 class IGESSolid_SphericalSurface;
0035 class Geom_ToroidalSurface;
0036 class IGESSolid_ToroidalSurface;
0037 class Geom_BSplineSurface;
0038 class IGESGeom_SplineSurface;
0039 class IGESGeom_BSplineSurface;
0040 
0041 //! Provides methods to transfer basic geometric surface entities
0042 //! from IGES to CASCADE.
0043 //! These can be :
0044 //! * Spline surface
0045 //! * BSpline surface
0046 class IGESToBRep_BasicSurface  : public IGESToBRep_CurveAndSurface
0047 {
0048 public:
0049 
0050   DEFINE_STANDARD_ALLOC
0051 
0052   //! Creates  a tool BasicSurface  ready  to  run, with
0053   //! epsilons  set  to  1.E-04,  TheModeTopo  to  True,  the
0054   //! optimization of  the continuity to False.
0055   Standard_EXPORT IGESToBRep_BasicSurface();
0056   
0057   //! Creates a tool BasicSurface ready to run and sets its
0058   //! fields as CS's.
0059   Standard_EXPORT IGESToBRep_BasicSurface(const IGESToBRep_CurveAndSurface& CS);
0060   
0061   //! Creates a tool BasicSurface ready to run.
0062   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);
0063 
0064   //! Returns Surface  from Geom if the last transfer has succeeded.
0065   Standard_EXPORT Handle(Geom_Surface) TransferBasicSurface (const Handle(IGESData_IGESEntity)& start);
0066 
0067   //! Returns Plane from Geom if the transfer has succeeded.
0068   Standard_EXPORT Handle(Geom_Plane) TransferPlaneSurface (const Handle(IGESSolid_PlaneSurface)& start);
0069 
0070   //! Returns CylindricalSurface from Geom if the transfer has succeeded.
0071   Standard_EXPORT Handle(Geom_CylindricalSurface) TransferRigthCylindricalSurface (const Handle(IGESSolid_CylindricalSurface)& start);
0072 
0073   //! Returns ConicalSurface from Geom if the transfer has succeeded.
0074   Standard_EXPORT Handle(Geom_ConicalSurface) TransferRigthConicalSurface (const Handle(IGESSolid_ConicalSurface)& start);
0075 
0076   //! Returns SphericalSurface from Geom if the transfer has succeeded.
0077   Standard_EXPORT Handle(Geom_SphericalSurface) TransferSphericalSurface (const Handle(IGESSolid_SphericalSurface)& start);
0078 
0079   //! Returns SphericalSurface from Geom if the transfer has succeeded.
0080   Standard_EXPORT Handle(Geom_ToroidalSurface) TransferToroidalSurface (const Handle(IGESSolid_ToroidalSurface)& start);
0081 
0082   //! Returns BSplineSurface  from Geom if the transfer has succeeded.
0083   Standard_EXPORT Handle(Geom_BSplineSurface) TransferSplineSurface (const Handle(IGESGeom_SplineSurface)& start);
0084 
0085   //! Returns BSplineSurface  from Geom if the transfer has succeeded.
0086   Standard_EXPORT Handle(Geom_BSplineSurface) TransferBSplineSurface (const Handle(IGESGeom_BSplineSurface)& start);
0087 
0088 };
0089 
0090 #endif // _IGESToBRep_BasicSurface_HeaderFile