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
26 class ShapeInfo from GEOMAlgo
36 ShapeEnum from TopAbs,
39 KindOfShape from GEOMAlgo,
40 KindOfBounds from GEOMAlgo,
41 KindOfClosed from GEOMAlgo,
42 KindOfName from GEOMAlgo
47 returns ShapeInfo from GEOMAlgo;
48 ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShapeInfo();"
53 aType:ShapeEnum from TopAbs);
56 returns ShapeEnum from TopAbs;
58 SetNbSubShapes(me:out;
59 aType:ShapeEnum from TopAbs;
60 aNb :Integer from Standard);
63 aType:ShapeEnum from TopAbs)
64 returns Integer from Standard;
66 SetKindOfShape (me:out;
67 aT:KindOfShape from GEOMAlgo);
70 returns KindOfShape from GEOMAlgo;
72 SetKindOfName (me:out;
73 aT: KindOfName from GEOMAlgo);
76 returns KindOfName from GEOMAlgo;
78 SetKindOfBounds (me:out;
79 aT:KindOfBounds from GEOMAlgo);
82 returns KindOfBounds from GEOMAlgo;
84 SetKindOfClosed (me:out;
85 aT:KindOfClosed from GEOMAlgo);
88 returns KindOfClosed from GEOMAlgo;
102 ---C++: return const&
112 ---C++: return const&
119 ---C++: return const&
126 ---C++: return const&
129 aR: Real from Standard);
132 returns Real from Standard;
135 aR: Real from Standard);
138 returns Real from Standard;
141 aL: Real from Standard);
144 returns Real from Standard;
147 aW: Real from Standard);
150 returns Real from Standard;
153 aH: Real from Standard);
156 returns Real from Standard;
187 myType : ShapeEnum from TopAbs is protected;
188 myNbSubShapes : Integer from Standard[9] is protected;
189 myKindOfShape : KindOfShape from GEOMAlgo is protected;
190 myKindOfName : KindOfName from GEOMAlgo is protected;
191 myKindOfBounds : KindOfBounds from GEOMAlgo is protected;
192 myKindOfClosed : KindOfClosed from GEOMAlgo is protected;
194 myLocation : Pnt from gp is protected;
195 myDirection : Dir from gp is protected;
196 myPosition : Ax3 from gp is protected;
198 myRadius1 : Real from Standard is protected;
199 myRadius2 : Real from Standard is protected;
200 myLength : Real from Standard is protected;
201 myWidth : Real from Standard is protected;
202 myHeight : Real from Standard is protected;
204 myPnt1 : Pnt from gp is protected;
205 myPnt2 : Pnt from gp is protected;
207 myNbTypes : Integer from Standard is protected;