Salome HOME
4795de65dab79666a17fecd6a8480397e69e4564
[modules/geom.git] / NMTTools_DSFiller.cdl
1 --  Copyright (C) 2007-2010  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
23 -- File:        NMTTools_DSFiller.cdl
24 -- Created:     Fri Dec  5 13:57:03 2003
25 -- Author:      Peter KURNEV
26 --              <pkv@irinox>
27 --
28 class DSFiller from NMTTools 
29
30         ---Purpose: 
31
32 uses
33     Shape from TopoDS,  
34     InterferencePool     from BOPTools, 
35     PInterferencePool    from BOPTools,
36     ShapesDataStructure  from NMTDS, 
37     PShapesDataStructure from NMTDS,
38     PPaveFiller          from NMTTools, 
39     PaveFiller           from NMTTools
40 --raises
41
42 is  
43     Create  
44         returns DSFiller from NMTTools; 
45          
46     Destroy (me:out);
47     ---C++: alias ~
48     ---Purpose: Destructor 
49     -- 
50     --  Selectors/Modifiers   
51     SetCompositeShape (me:out;  
52             aS:  Shape from TopoDS);  
53      
54     CompositeShape(me) 
55         returns  Shape from TopoDS; 
56         ---C++:  return  const& 
57      
58     SetNewFiller(me;  
59             aFlag:Boolean from  Standard); 
60      
61     IsNewFiller(me) 
62         returns Boolean from  Standard;  
63     --   
64     --  Perform the algo      
65     Perform (me:out);   
66     --
67     --  Protected section 
68     Clear   (me:out) 
69         is protected;  
70     --
71     -- Query section 
72     DS  (me) 
73         returns  ShapesDataStructure from NMTDS; 
74         ---C++:  return const &    
75          
76     InterfPool (me) 
77         returns  InterferencePool from BOPTools;
78     ---C++:  return const & 
79          
80     IsDone(me) 
81         returns  Boolean  from  Standard; 
82       
83     PaveFiller(me) 
84         returns PaveFiller from NMTTools; 
85     ---C++:  return const &
86
87     ChangePaveFiller (me:out) 
88         returns PaveFiller from NMTTools; 
89     ---C++:  return &
90
91 fields
92     myCompositeShape  :  Shape from TopoDS is protected;
93     myDS              :  PShapesDataStructure from NMTDS is protected; 
94     myInterfPool      :  PInterferencePool    from BOPTools is protected;  
95     myPaveFiller      :  PPaveFiller from NMTTools is protected;   
96
97     myIsDone          :  Boolean from  Standard is protected; 
98     myIsNewFiller     :  Boolean from  Standard is protected;  
99
100 end DSFiller;