Salome HOME
Update mail address
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_FinderShapeOn.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_FinderShapeOn.cdl
21 -- Created:     Tue Jan 11 14:35:52 2005
22 -- Author:      Peter KURNEV
23 --              <pkv@irinox>
24 ---Copyright:    Matra Datavision 2005
25
26
27 class FinderShapeOn from GEOMAlgo 
28     inherits ShapeAlgo from GEOMAlgo 
29     
30         ---Purpose: 
31
32 uses
33     Surface from Geom, 
34     ShapeEnum from TopAbs, 
35     ListOfShape from TopTools, 
36     DataMapOfShapeShape from TopTools, 
37     Shape from TopoDS, 
38     State from GEOMAlgo, 
39     IndexedDataMapOfShapeState from GEOMAlgo 
40     
41 --raises
42
43 is 
44     Create   
45         returns FinderShapeOn from GEOMAlgo; 
46     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn();" 
47      
48     Perform(me:out) 
49         is redefined;  
50          
51     SetSurface(me:out; 
52             aS:Surface from Geom); 
53          
54     SetShapeType(me:out; 
55             aST:ShapeEnum from TopAbs); 
56          
57     SetState(me:out; 
58             aSF:State from GEOMAlgo);      
59      
60     Surface(me) 
61         returns Surface from Geom; 
62     ---C++: return const & 
63      
64     ShapeType(me) 
65         returns ShapeEnum from TopAbs; 
66          
67     State(me)
68         returns State from GEOMAlgo;  
69      
70     Shapes(me)
71         returns ListOfShape from TopTools; 
72     ---C++: return const &  
73      
74     -- 
75     --  protected  methods
76     -- 
77     CheckData(me:out) 
78         is redefined protected; 
79
80     MakeArgument1(me:out) 
81         is protected;  
82
83     MakeArgument2(me:out) 
84         is protected;
85      
86     Find(me:out) 
87         is protected; 
88
89     Find(me:out; 
90             aS:Shape from TopoDS) 
91         is protected; 
92
93     FindVertices(me:out) 
94         is protected; 
95          
96     CopySource(myclass; 
97         aS  :Shape from TopoDS; 
98         aImages   : out DataMapOfShapeShape from TopTools;       
99         aOriginals: out DataMapOfShapeShape from TopTools;       
100         aSC : out Shape from TopoDS); 
101         
102                                         
103
104 fields 
105     mySurface    : Surface from Geom is protected;  
106     myShapeType  : ShapeEnum from TopAbs is protected;  
107     myState      : State from GEOMAlgo is protected; 
108     myArg1       : Shape from TopoDS is protected;  
109     myArg2       : Shape from TopoDS is protected;  
110     myLS         : ListOfShape from TopTools is protected;
111     myImages     : DataMapOfShapeShape from TopTools is protected; 
112     myMSS        : IndexedDataMapOfShapeState from GEOMAlgo is protected; 
113     myIsAnalytic : Boolean from Standard is protected; 
114      
115 end FinderShapeOn;