1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
18 // See http://www.salome-platform.org/
20 -- File: NMTTools_CommonBlock.cdl
21 -- Created: Tue Dec 9 12:11:48 2003
22 -- Author: Peter KURNEV
24 ---Copyright: Matra Datavision 2003
27 class CommonBlock from NMTTools
32 ListOfInteger from TColStd,
33 PaveBlock from BOPTools,
34 ListOfPaveBlock from BOPTools
40 returns CommonBlock from NMTTools;
43 aPB : PaveBlock from BOPTools);
46 aF : Integer from Standard);
49 aLF: ListOfInteger from TColStd);
52 returns ListOfPaveBlock from BOPTools;
53 ---C++: return const &
56 returns ListOfInteger from TColStd;
57 ---C++: return const &
60 returns PaveBlock from BOPTools;
61 ---C++: return const &
64 anIx: Integer from Standard)
65 returns PaveBlock from BOPTools;
68 PaveBlockOnEdge (me:out;
69 anIndex: Integer from Standard)
70 returns PaveBlock from BOPTools;
73 IsPaveBlockOnFace (me;
74 anIndex: Integer from Standard)
75 returns Boolean from Standard;
77 IsPaveBlockOnEdge (me;
78 anIndex: Integer from Standard)
79 returns Boolean from Standard;
82 aCB:CommonBlock from NMTTools)
83 returns Boolean from Standard;
86 aPB:PaveBlock from BOPTools)
87 returns Boolean from Standard;
90 -- anEdge:Integer from Standard);
93 -- returns Integer from Standard;
96 myPaveBlocks: ListOfPaveBlock from BOPTools is protected;
97 myFaces : ListOfInteger from TColStd is protected;