1 -- Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 -- This library is free software; you can redistribute it and/or
4 -- modify it under the terms of the GNU Lesser General Public
5 -- License as published by the Free Software Foundation; either
6 -- version 2.1 of the License.
8 -- This library is distributed in the hope that it will be useful,
9 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
10 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 -- Lesser General Public License for more details.
13 -- You should have received a copy of the GNU Lesser General Public
14 -- License along with this library; if not, write to the Free Software
15 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 -- File: GEOMAlgo_ShapeInfo.cdl
21 -- Created: Mon Apr 2 14:04:24 2007
22 -- Author: Peter KURNEV
24 class ShapeInfo from GEOMAlgo
34 ShapeEnum from TopAbs,
37 KindOfShape from GEOMAlgo,
38 KindOfBounds from GEOMAlgo,
39 KindOfClosed from GEOMAlgo,
40 KindOfName from GEOMAlgo
45 returns ShapeInfo from GEOMAlgo;
46 ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShapeInfo();"
51 aType:ShapeEnum from TopAbs);
54 returns ShapeEnum from TopAbs;
56 SetNbSubShapes(me:out;
57 aType:ShapeEnum from TopAbs;
58 aNb :Integer from Standard);
61 aType:ShapeEnum from TopAbs)
62 returns Integer from Standard;
64 SetKindOfShape (me:out;
65 aT:KindOfShape from GEOMAlgo);
68 returns KindOfShape from GEOMAlgo;
70 SetKindOfName (me:out;
71 aT: KindOfName from GEOMAlgo);
74 returns KindOfName from GEOMAlgo;
76 SetKindOfBounds (me:out;
77 aT:KindOfBounds from GEOMAlgo);
80 returns KindOfBounds from GEOMAlgo;
82 SetKindOfClosed (me:out;
83 aT:KindOfClosed from GEOMAlgo);
86 returns KindOfClosed from GEOMAlgo;
100 ---C++: return const&
110 ---C++: return const&
117 ---C++: return const&
124 ---C++: return const&
127 aR: Real from Standard);
130 returns Real from Standard;
133 aR: Real from Standard);
136 returns Real from Standard;
139 aL: Real from Standard);
142 returns Real from Standard;
145 aW: Real from Standard);
148 returns Real from Standard;
151 aH: Real from Standard);
154 returns Real from Standard;
185 myType : ShapeEnum from TopAbs is protected;
186 myNbSubShapes : Integer from Standard[9] is protected;
187 myKindOfShape : KindOfShape from GEOMAlgo is protected;
188 myKindOfName : KindOfName from GEOMAlgo is protected;
189 myKindOfBounds : KindOfBounds from GEOMAlgo is protected;
190 myKindOfClosed : KindOfClosed from GEOMAlgo is protected;
192 myLocation : Pnt from gp is protected;
193 myDirection : Dir from gp is protected;
194 myPosition : Ax3 from gp is protected;
196 myRadius1 : Real from Standard is protected;
197 myRadius2 : Real from Standard is protected;
198 myLength : Real from Standard is protected;
199 myWidth : Real from Standard is protected;
200 myHeight : Real from Standard is protected;
202 myPnt1 : Pnt from gp is protected;
203 myPnt2 : Pnt from gp is protected;
205 myNbTypes : Integer from Standard is protected;