PageRenderTime 16ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/src/contrib/geom-5.1.2.7/src/GEOMAlgo/GEOMAlgo_ClsfSolid.cdl

http://pythonocc.googlecode.com/
Unknown | 60 lines | 49 code | 11 blank | 0 comment | 0 complexity | 08b080efcaff1694a1d28d53c554587a MD5 | raw file
 1--  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
 2--
 3--  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 4--  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 5--
 6--  This library is free software; you can redistribute it and/or
 7--  modify it under the terms of the GNU Lesser General Public
 8--  License as published by the Free Software Foundation; either
 9--  version 2.1 of the License.
10--
11--  This library is distributed in the hope that it will be useful,
12--  but WITHOUT ANY WARRANTY; without even the implied warranty of
13--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14--  Lesser General Public License for more details.
15--
16--  You should have received a copy of the GNU Lesser General Public
17--  License along with this library; if not, write to the Free Software
18--  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19--
20--  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21--
22-- File:	GEOMAlgo_ClsfSolid.cdl
23-- Created:	Mon Jan 29 10:28:07 2007
24-- Author:	Peter KURNEV
25--		<pkv@irinox>
26--
27class ClsfSolid from GEOMAlgo  
28    inherits Clsf from GEOMAlgo 
29
30	---Purpose: 
31
32uses
33    Shape from TopoDS
34    
35--raises
36
37is
38    Create 
39    	returns mutable ClsfSolid from GEOMAlgo; 
40    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ClsfSolid();"  
41      
42    SetShape(me:mutable; 
43    	    aS:Shape from TopoDS);  
44	 
45    Shape(me) 
46    	returns Shape from TopoDS; 
47    ---C++: return const &     
48     
49    Perform(me:mutable) 
50	is redefined;      
51
52    CheckData(me:mutable) 
53	is redefined;  
54    	 
55    
56fields  
57    myShape: Shape from TopoDS is protected;
58    myPClsf: Address from Standard is protected;
59   
60end ClsfSolid;