0026185: BRepOffsetAPI_MakeOffset: regressions on some customer's cases
[occt.git] / src / BRepFill / BRepFill_Generator.cdl
CommitLineData
b311480e 1-- Created on: 1994-03-07
2-- Created by: Joelle CHAUVET
3-- Copyright (c) 1994-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
b311480e 16
7fd59977 17-- Modified: Thu Jul 2 16:47:35 1998
7fd59977 18-- add methods Generated and GeneratedShapes
7fd59977 19
20
21
22
23
24class Generator from BRepFill
25
26 ---Purpose: Compute a topological surface ( a shell) using
27 -- generating wires. The face of the shell will be
28 -- ruled surfaces passing by the wires.
29 -- The wires must have the same number of edges.
30
31
32uses
33
34 Wire from TopoDS,
35 Shell from TopoDS,
36 Shape from TopoDS,
37 SequenceOfShape from TopTools,
38 ListOfShape from TopTools,
39 DataMapOfShapeListOfShape from TopTools
40
41
42is
43
44 Create returns Generator from BRepFill;
45
46 AddWire( me : in out;
47 Wire : in Wire from TopoDS)
48 is static;
49
50 Perform( me : in out)
51 ---Purpose: Compute the shell.
52 is static;
53
54 Shell(me)
55 ---C++: return const&
56 ---C++: inline
57 returns Shell from TopoDS
58 is static;
59
60 Generated (me )
61 ---Purpose: Returns all the shapes created
62 ---C++ : return const &
63 returns DataMapOfShapeListOfShape from TopTools
64 is static;
65
66 GeneratedShapes (me ;
67 SSection : Shape from TopoDS)
68 ---Purpose: Returns the shapes created from a subshape
69 -- <SSection> of a section.
70 --
71 ---C++ : return const &
72 returns ListOfShape from TopTools
73 is static;
74
75
76
77
78fields
79 myWires : SequenceOfShape from TopTools;
80 myShell : Shell from TopoDS;
81 myMap : DataMapOfShapeListOfShape from TopTools;
82
83end Generator;
84
85
86
87