Salome HOME
0020598: EDF 1191 GEOM : Creation of hexa block from two faces
[modules/geom.git] / src / NMTTools / NMTTools_DSFiller.cdl
1 --  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 --  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 --  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 --
6 --  This library is free software; you can redistribute it and/or
7 --  modify it under the terms of the GNU Lesser General Public
8 --  License as published by the Free Software Foundation; either
9 --  version 2.1 of the License.
10 --
11 --  This library is distributed in the hope that it will be useful,
12 --  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 --  Lesser General Public License for more details.
15 --
16 --  You should have received a copy of the GNU Lesser General Public
17 --  License along with this library; if not, write to the Free Software
18 --  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 --
20 --  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 --
22 -- File:        NMTTools_DSFiller.cdl
23 -- Created:     Fri Dec  5 13:57:03 2003
24 -- Author:      Peter KURNEV
25 --              <pkv@irinox>
26 --
27 class DSFiller from NMTTools 
28
29         ---Purpose: 
30
31 uses
32     Shape from TopoDS,  
33     InterferencePool     from BOPTools, 
34     PInterferencePool    from BOPTools,
35     ShapesDataStructure  from NMTDS, 
36     PShapesDataStructure from NMTDS,
37     PPaveFiller          from NMTTools, 
38     PaveFiller           from NMTTools
39 --raises
40
41 is  
42     Create  
43         returns DSFiller from NMTTools; 
44          
45     Destroy (me:out);
46     ---C++: alias ~
47     ---Purpose: Destructor 
48     -- 
49     --  Selectors/Modifiers   
50     SetCompositeShape (me:out;  
51             aS:  Shape from TopoDS);  
52      
53     CompositeShape(me) 
54         returns  Shape from TopoDS; 
55         ---C++:  return  const& 
56      
57     SetNewFiller(me;  
58             aFlag:Boolean from  Standard); 
59      
60     IsNewFiller(me) 
61         returns Boolean from  Standard;  
62     --   
63     --  Perform the algo      
64     Perform (me:out);   
65     --
66     --  Protected section 
67     Clear   (me:out) 
68         is protected;  
69     --
70     -- Query section 
71     DS  (me) 
72         returns  ShapesDataStructure from NMTDS; 
73         ---C++:  return const &    
74          
75     InterfPool (me) 
76         returns  InterferencePool from BOPTools;
77     ---C++:  return const & 
78          
79     IsDone(me) 
80         returns  Boolean  from  Standard; 
81       
82     PaveFiller(me) 
83         returns PaveFiller from NMTTools; 
84     ---C++:  return const &
85
86     ChangePaveFiller (me:out) 
87         returns PaveFiller from NMTTools; 
88     ---C++:  return &
89
90 fields
91     myCompositeShape  :  Shape from TopoDS is protected;
92     myDS              :  PShapesDataStructure from NMTDS is protected; 
93     myInterfPool      :  PInterferencePool    from BOPTools is protected;  
94     myPaveFiller      :  PPaveFiller from NMTTools is protected;   
95
96     myIsDone          :  Boolean from  Standard is protected; 
97     myIsNewFiller     :  Boolean from  Standard is protected;  
98
99 end DSFiller;