]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl
Salome HOME
cc3212db2d2115762358a50f404c1fddeddf7edb
[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     State from TopAbs,
19     Face from TopoDS, 
20     Edge from TopoDS, 
21     ListOfShape from TopTools,  
22      
23     State from GEOMAlgo, 
24     ListOfPnt from GEOMAlgo, 
25     IndexedDataMapOfShapeState from GEOMAlgo 
26     
27 --raises
28
29 is 
30     Create   
31         returns FinderShapeOn1 from GEOMAlgo; 
32     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn1();" 
33
34     SetSurface(me:out; 
35             aS:Surface from Geom); 
36          
37     SetShapeType(me:out; 
38             aST:ShapeEnum from TopAbs); 
39          
40     SetState(me:out; 
41             aSF:State from GEOMAlgo);      
42      
43     SetNbPntsMin(me:out; 
44             aNb:Integer from Standard);   
45
46     NbPntsMin(me) 
47         returns Integer from Standard; 
48          
49     SetNbPntsMax(me:out; 
50             aNb:Integer from Standard);   
51
52     NbPntsMax(me) 
53         returns Integer from Standard; 
54          
55     Surface(me) 
56         returns Surface from Geom; 
57     ---C++: return const & 
58      
59     ShapeType(me) 
60         returns ShapeEnum from TopAbs; 
61          
62     State(me)
63         returns State from GEOMAlgo;  
64      
65     Perform(me:out) 
66         is redefined; 
67          
68     Shapes(me)
69         returns ListOfShape from TopTools; 
70     ---C++: return const &  
71     -- 
72     --  protected  methods
73     -- 
74     CheckData(me:out) 
75         is redefined protected; 
76          
77     ProcessVertices(me:out) 
78         is protected; 
79      
80     ProcessEdges(me:out) 
81         is protected; 
82   
83     ProcessFaces(me:out) 
84         is protected; 
85          
86     ProcessSolids(me:out) 
87         is protected; 
88           
89     InnerPoints(me:out; 
90             aF :Face from TopoDS;            
91             aLP:out ListOfPnt from GEOMAlgo) 
92         is protected;  
93          
94     InnerPoints(me:out; 
95             aE :Edge from TopoDS;            
96             aLP:out ListOfPnt from GEOMAlgo) 
97         is protected; 
98          
99     InnerPoints(me:out; 
100             aE :Edge from TopoDS;            
101             aNbPnts: Integer from Standard;     
102             aLP:out ListOfPnt from GEOMAlgo) 
103         is protected;  
104       
105     MSS (me)  
106         returns IndexedDataMapOfShapeState from GEOMAlgo; 
107     ---C++:return const &       
108     
109     GetPointState(me:out; aP: Pnt from gp)
110         returns State from TopAbs is virtual protected;
111
112 fields
113     mySurface   : Surface from Geom is protected;  
114     myShapeType : ShapeEnum from TopAbs is protected;  
115     myState     : State from GEOMAlgo is protected;  
116     myNbPntsMin : Integer from Standard is protected;   
117     myNbPntsMax : Integer from Standard is protected;   
118     -- 
119     myGAS       : Surface from GeomAdaptor is protected;
120     myLS        : ListOfShape from TopTools is protected; 
121     --     
122     myMSS       : IndexedDataMapOfShapeState from GEOMAlgo is protected;
123  
124 end FinderShapeOn1;