Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/GeomFill_Generator.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 1994-02-17
0002 // Created by: Bruno DUMORTIER
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 _GeomFill_Generator_HeaderFile
0018 #define _GeomFill_Generator_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <GeomFill_Profiler.hxx>
0025 class Geom_Surface;
0026 
0027 //! Create a surface using generating lines.  Inherits
0028 //! profiler.  The  surface will be  a  BSplineSurface
0029 //! passing  by   all  the  curves  described  in  the
0030 //! generator. The VDegree of the resulting surface is
0031 //! 1.
0032 class GeomFill_Generator : public GeomFill_Profiler
0033 {
0034 public:
0035   DEFINE_STANDARD_ALLOC
0036 
0037   Standard_EXPORT GeomFill_Generator();
0038 
0039   //! Converts all curves to BSplineCurves.
0040   //! Set them to the common profile.
0041   //! Compute the surface (degv = 1).
0042   //! <PTol> is used to compare 2 knots.
0043   Standard_EXPORT virtual void Perform(const Standard_Real PTol) Standard_OVERRIDE;
0044 
0045   const Handle(Geom_Surface)& Surface() const;
0046 
0047 protected:
0048 private:
0049   Handle(Geom_Surface) mySurface;
0050 };
0051 
0052 #include <GeomFill_Generator.lxx>
0053 
0054 #endif // _GeomFill_Generator_HeaderFile