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