Salome HOME
0020044: EDF 866 GEOM: Extrusion along a path : impossible to select a Wire
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_Clsf.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_Clsf.cdl
21 -- Created:     Wed Nov 22 10:19:29 2006
22 -- Author:      Peter KURNEV
23 --              <pkv@irinox>
24
25
26 deferred class Clsf from GEOMAlgo 
27     inherits HAlgo from GEOMAlgo 
28      
29         ---Purpose: 
30
31 uses 
32     State from TopAbs,
33     Pnt from gp, 
34     Curve from Geom,
35     Surface from Geom 
36     
37 --raises
38
39 is 
40     Initialize 
41         returns mutable Clsf from GEOMAlgo; 
42     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Clsf();"  
43      
44     SetPnt(me:mutable; 
45             aP:Pnt from gp); 
46              
47     Pnt(me) 
48         returns Pnt from gp; 
49     ---C++:return const&         
50          
51     SetTolerance(me:mutable; 
52             aT:Real from Standard);  
53          
54     Tolerance(me) 
55         returns Real from Standard;       
56          
57     State(me) 
58         returns State from TopAbs; 
59          
60     CanBeON(me; 
61             aCT:Curve from Geom) 
62         returns Boolean from Standard 
63         is virtual;     
64
65     CanBeON(me; 
66             aST:Surface from Geom) 
67         returns Boolean from Standard 
68         is virtual;     
69         
70 fields 
71     myState    :State from TopAbs is protected;
72     myPnt      :Pnt from gp is protected;
73     myTolerance:Real from Standard is protected; 
74
75 end Clsf;