]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl
Salome HOME
Modified a method createAndDisplayGO
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_FinderShapeOn1.cdl
1 -- File:        GEOMAlgo_FinderShapeOn1.cdl
2 -- Created:     Fri Mar  4 10:26:54 2005
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2005
6
7
8 class FinderShapeOn1 from GEOMAlgo  
9     inherits ShapeAlgo from GEOMAlgo 
10
11         ---Purpose: 
12
13 uses
14     Surface from Geom, 
15     Surface from GeomAdaptor, 
16      
17     ShapeEnum from TopAbs, 
18     Face from TopoDS, 
19     Edge from TopoDS, 
20     ListOfShape from TopTools,  
21      
22     State from GEOMAlgo, 
23     ListOfPnt from GEOMAlgo, 
24     IndexedDataMapOfShapeState from GEOMAlgo 
25     
26 --raises
27
28 is 
29     Create   
30         returns FinderShapeOn1 from GEOMAlgo; 
31     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn1();" 
32
33     SetSurface(me:out; 
34             aS:Surface from Geom); 
35          
36     SetShapeType(me:out; 
37             aST:ShapeEnum from TopAbs); 
38          
39     SetState(me:out; 
40             aSF:State from GEOMAlgo);      
41      
42     SetNbPntsMin(me:out; 
43             aNb:Integer from Standard);   
44
45     NbPntsMin(me) 
46         returns Integer from Standard; 
47          
48     SetNbPntsMax(me:out; 
49             aNb:Integer from Standard);   
50
51     NbPntsMax(me) 
52         returns Integer from Standard; 
53          
54     Surface(me) 
55         returns Surface from Geom; 
56     ---C++: return const & 
57      
58     ShapeType(me) 
59         returns ShapeEnum from TopAbs; 
60          
61     State(me)
62         returns State from GEOMAlgo;  
63      
64     Perform(me:out) 
65         is redefined; 
66          
67     Shapes(me)
68         returns ListOfShape from TopTools; 
69     ---C++: return const &  
70     -- 
71     --  protected  methods
72     -- 
73     CheckData(me:out) 
74         is redefined protected; 
75          
76     ProcessVertices(me:out) 
77         is protected; 
78      
79     ProcessEdges(me:out) 
80         is protected; 
81   
82     ProcessFaces(me:out) 
83         is protected; 
84          
85     ProcessSolids(me:out) 
86         is protected; 
87           
88     InnerPoints(me:out; 
89             aF :Face from TopoDS;            
90             aLP:out ListOfPnt from GEOMAlgo) 
91         is protected;  
92          
93     InnerPoints(me:out; 
94             aE :Edge from TopoDS;            
95             aLP:out ListOfPnt from GEOMAlgo) 
96         is protected; 
97          
98     InnerPoints(me:out; 
99             aE :Edge from TopoDS;            
100             aNbPnts: Integer from Standard;     
101             aLP:out ListOfPnt from GEOMAlgo) 
102         is protected;  
103       
104     MSS (me)  
105         returns IndexedDataMapOfShapeState from GEOMAlgo; 
106     ---C++:return const &       
107     
108 fields
109     mySurface   : Surface from Geom is protected;  
110     myShapeType : ShapeEnum from TopAbs is protected;  
111     myState     : State from GEOMAlgo is protected;  
112     myNbPntsMin : Integer from Standard is protected;   
113     myNbPntsMax : Integer from Standard is protected;   
114     -- 
115     myGAS       : Surface from GeomAdaptor is protected;
116     myLS        : ListOfShape from TopTools is protected; 
117     --     
118     myMSS       : IndexedDataMapOfShapeState from GEOMAlgo is protected;
119  
120 end FinderShapeOn1;