Salome HOME
CCAR: improve speed of getAIS by calling CreatePrs that uses entry2aisobjects map
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_BuilderFace.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:        GEOMAlgo_BuilderFace.cdl
24 -- Created:     
25 -- Author:      Peter KURNEV 
26 --
27 class BuilderFace from GEOMAlgo 
28         inherits BuilderArea from GEOMAlgo 
29          
30         ---Purpose: The algorithm to build faces from set of edges  
31
32 uses   
33     Face from TopoDS
34
35 --raises
36
37 is 
38     Create  
39         ---Purpose:  Empty  constructor
40         returns BuilderFace from GEOMAlgo; 
41     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_BuilderFace();" 
42      
43     SetFace(me:out; 
44             theFace:Face from TopoDS);     
45         ---Purpose: Sets the face generatix  
46          
47     Face(me) 
48         ---Purpose: Returns the face generatix   
49         returns Face from TopoDS; 
50     ---C++:  return const &
51                  
52     Perform(me:out)  
53         ---Purpose:  Performs the algorithm 
54         is redefined;  
55          
56     PerformShapesToAvoid(me:out) 
57         ---Purpose:  Collect the edges that 
58         --           a) are internal             
59         --           b) are the same and have different orientation              
60         is redefined protected; 
61          
62     PerformLoops(me:out) 
63         ---Purpose: Build draft wires 
64         --          a)myLoops - draft wires that consist of  
65         --                       boundary edges 
66         --          b)myLoopsInternal - draft wires that contains 
67         --                               inner edges 
68         is redefined protected;  
69          
70     PerformAreas(me:out)   
71         ---Purpose: Build draft faces that contains boundary edges 
72         is redefined protected;  
73
74     PerformInternalShapes(me:out)   
75         ---Purpose: Build finalized faces with internals   
76         is redefined protected;  
77      
78
79 fields  
80     myFace : Face from TopoDS is protected;     
81      
82 end BuilderFace; 
83