1 -- Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 -- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 -- File: GEOMAlgo_ShapeInfo.cdl
23 -- Created: Mon Apr 2 14:04:24 2007
24 -- Author: Peter KURNEV
27 class ShapeInfo from GEOMAlgo
37 ShapeEnum from TopAbs,
40 KindOfShape from GEOMAlgo,
41 KindOfBounds from GEOMAlgo,
42 KindOfClosed from GEOMAlgo,
43 KindOfName from GEOMAlgo
48 returns ShapeInfo from GEOMAlgo;
49 ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShapeInfo();"
54 aType:ShapeEnum from TopAbs);
57 returns ShapeEnum from TopAbs;
59 SetNbSubShapes(me:out;
60 aType:ShapeEnum from TopAbs;
61 aNb :Integer from Standard);
64 aType:ShapeEnum from TopAbs)
65 returns Integer from Standard;
67 SetKindOfShape (me:out;
68 aT:KindOfShape from GEOMAlgo);
71 returns KindOfShape from GEOMAlgo;
73 SetKindOfName (me:out;
74 aT: KindOfName from GEOMAlgo);
77 returns KindOfName from GEOMAlgo;
79 SetKindOfBounds (me:out;
80 aT:KindOfBounds from GEOMAlgo);
83 returns KindOfBounds from GEOMAlgo;
85 SetKindOfClosed (me:out;
86 aT:KindOfClosed from GEOMAlgo);
89 returns KindOfClosed from GEOMAlgo;
103 ---C++: return const&
113 ---C++: return const&
120 ---C++: return const&
127 ---C++: return const&
130 aR: Real from Standard);
133 returns Real from Standard;
136 aR: Real from Standard);
139 returns Real from Standard;
142 aL: Real from Standard);
145 returns Real from Standard;
148 aW: Real from Standard);
151 returns Real from Standard;
154 aH: Real from Standard);
157 returns Real from Standard;
188 myType : ShapeEnum from TopAbs is protected;
189 myNbSubShapes : Integer from Standard[9] is protected;
190 myKindOfShape : KindOfShape from GEOMAlgo is protected;
191 myKindOfName : KindOfName from GEOMAlgo is protected;
192 myKindOfBounds : KindOfBounds from GEOMAlgo is protected;
193 myKindOfClosed : KindOfClosed from GEOMAlgo is protected;
195 myLocation : Pnt from gp is protected;
196 myDirection : Dir from gp is protected;
197 myPosition : Ax3 from gp is protected;
199 myRadius1 : Real from Standard is protected;
200 myRadius2 : Real from Standard is protected;
201 myLength : Real from Standard is protected;
202 myWidth : Real from Standard is protected;
203 myHeight : Real from Standard is protected;
205 myPnt1 : Pnt from gp is protected;
206 myPnt2 : Pnt from gp is protected;
208 myNbTypes : Integer from Standard is protected;