1 // Created on: 1994-03-07
2 // Created by: Joelle CHAUVET
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _BRepFill_Generator_HeaderFile
18 #define _BRepFill_Generator_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <TopTools_SequenceOfShape.hxx>
25 #include <TopoDS_Shell.hxx>
26 #include <TopTools_DataMapOfShapeListOfShape.hxx>
27 #include <TopTools_ListOfShape.hxx>
33 //! Compute a topological surface ( a shell) using
34 //! generating wires. The face of the shell will be
35 //! ruled surfaces passing by the wires.
36 //! The wires must have the same number of edges.
37 class BRepFill_Generator
44 Standard_EXPORT BRepFill_Generator();
46 Standard_EXPORT void AddWire (const TopoDS_Wire& Wire);
48 //! Compute the shell.
49 Standard_EXPORT void Perform();
51 const TopoDS_Shell& Shell() const;
53 //! Returns all the shapes created
54 Standard_EXPORT const TopTools_DataMapOfShapeListOfShape& Generated() const;
56 //! Returns the shapes created from a subshape
57 //! <SSection> of a section.
58 Standard_EXPORT const TopTools_ListOfShape& GeneratedShapes (const TopoDS_Shape& SSection) const;
73 TopTools_SequenceOfShape myWires;
75 TopTools_DataMapOfShapeListOfShape myMap;
81 #include <BRepFill_Generator.lxx>
87 #endif // _BRepFill_Generator_HeaderFile