Salome HOME
Merge from BR_Dev_For_4_0 branch (from tag mergeto_BR_QT4_Dev_17Jan08)
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_BuilderSolid.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:        GEOMAlgo_BuilderSolid.cdl
21 -- Created:     
22 -- Author:      Peter KURNEV  
23
24 class BuilderSolid from GEOMAlgo 
25         inherits BuilderArea from GEOMAlgo 
26          
27         ---Purpose: The algorithm to build solids from set of faces  
28
29 --uses 
30 --raises
31
32 is 
33     Create  
34         ---Purpose:  Empty  constructor
35         returns BuilderSolid from GEOMAlgo; 
36     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_BuilderSolid();" 
37      
38      
39     Perform(me:out)  
40         ---Purpose:  Performs the algorithm 
41         is redefined;  
42          
43     PerformShapesToAvoid(me:out) 
44         ---Purpose:  Collect the faces that 
45         --           a) are internal             
46         --           b) are the same and have different orientation              
47         is redefined protected; 
48          
49     PerformLoops(me:out) 
50         ---Purpose: Build draft shells 
51         --          a)myLoops - draft shells that consist of  
52         --                       boundary faces 
53         --          b)myLoopsInternal - draft shells that contains 
54         --                               inner faces 
55         is redefined protected;  
56          
57     PerformAreas(me:out)   
58         ---Purpose: Build draft solids that contains boundary faces   
59         is redefined protected;  
60
61     PerformInternalShapes(me:out)   
62         ---Purpose: Build finalized solids with internal shells   
63         is redefined protected;   
64
65 --fields 
66   
67 end BuilderSolid;