Salome HOME
PAL8395: Improve CheckCompoundOfBlocks and RemoveExtraEdges. Improvement done by...
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_FinderShapeOn.cdl
1 -- File:        GEOMAlgo_FinderShapeOn.cdl
2 -- Created:     Tue Jan 11 14:35:52 2005
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2005
6
7
8 class FinderShapeOn from GEOMAlgo 
9     inherits ShapeAlgo from GEOMAlgo 
10     
11         ---Purpose: 
12
13 uses
14     Surface from Geom, 
15     ShapeEnum from TopAbs, 
16     ListOfShape from TopTools, 
17     DataMapOfShapeShape from TopTools, 
18     Shape from TopoDS, 
19     State from GEOMAlgo, 
20     IndexedDataMapOfShapeState from GEOMAlgo 
21     
22 --raises
23
24 is 
25     Create   
26         returns FinderShapeOn from GEOMAlgo; 
27     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn();" 
28      
29     Perform(me:out) 
30         is redefined;  
31          
32     SetSurface(me:out; 
33             aS:Surface from Geom); 
34          
35     SetShapeType(me:out; 
36             aST:ShapeEnum from TopAbs); 
37          
38     SetState(me:out; 
39             aSF:State from GEOMAlgo);      
40      
41     Surface(me) 
42         returns Surface from Geom; 
43     ---C++: return const & 
44      
45     ShapeType(me) 
46         returns ShapeEnum from TopAbs; 
47          
48     State(me)
49         returns State from GEOMAlgo;  
50      
51     Shapes(me)
52         returns ListOfShape from TopTools; 
53     ---C++: return const &  
54      
55     -- 
56     --  protected  methods
57     -- 
58     CheckData(me:out) 
59         is redefined protected; 
60
61     MakeArgument1(me:out) 
62         is protected;  
63
64     MakeArgument2(me:out) 
65         is protected;
66      
67     Find(me:out) 
68         is protected; 
69
70     Find(me:out; 
71             aS:Shape from TopoDS) 
72         is protected; 
73
74     FindVertices(me:out) 
75         is protected; 
76          
77     CopySource(myclass; 
78         aS  :Shape from TopoDS; 
79         aImages   : out DataMapOfShapeShape from TopTools;       
80         aOriginals: out DataMapOfShapeShape from TopTools;       
81         aSC : out Shape from TopoDS); 
82         
83                                         
84
85 fields 
86     mySurface    : Surface from Geom is protected;  
87     myShapeType  : ShapeEnum from TopAbs is protected;  
88     myState      : State from GEOMAlgo is protected; 
89     myArg1       : Shape from TopoDS is protected;  
90     myArg2       : Shape from TopoDS is protected;  
91     myLS         : ListOfShape from TopTools is protected;
92     myImages     : DataMapOfShapeShape from TopTools is protected; 
93     myMSS        : IndexedDataMapOfShapeState from GEOMAlgo is protected; 
94     myIsAnalytic : Boolean from Standard is protected; 
95      
96 end FinderShapeOn;