1 -- Created by: Peter KURNEV
2 -- Copyright (c) 2010-2014 OPEN CASCADE SAS
3 -- Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4 -- Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5 -- EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
7 -- This file is part of Open CASCADE Technology software library.
9 -- This library is free software; you can redistribute it and/or modify it under
10 -- the terms of the GNU Lesser General Public License version 2.1 as published
11 -- by the Free Software Foundation, with special exception defined in the file
12 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 -- distribution for complete text of the license and disclaimer of any warranty.
15 -- Alternatively, this file may be used under the terms of Open CASCADE
16 -- commercial license or contractual agreement.
18 class FaceInfo from BOPDS
21 -- The class BOPDS_FaceInfo is to store
22 -- handy information about state of face
24 BaseAllocator from BOPCol,
25 MapOfInteger from BOPCol,
26 IndexedMapOfPaveBlock from BOPDS
32 returns FaceInfo from BOPDS;
34 ---C++: alias "virtual ~BOPDS_FaceInfo();"
39 Create (theAllocator: BaseAllocator from BOPCol)
40 returns FaceInfo from BOPDS;
44 --- theAllocator - the allocator to manage the memory
49 --- Clears the contents
52 theI: Integer from Standard);
56 --- Sets the index of the face <theI>
59 returns Integer from Standard;
63 --- Returns the index of the face
68 returns IndexedMapOfPaveBlock from BOPDS;
69 ---C++: return const &
73 --- Returns the pave blocks of the face
74 --- that have state In
76 ChangePaveBlocksIn(me:out)
77 returns IndexedMapOfPaveBlock from BOPDS;
82 --- Returns the pave blocks
84 --- that have state In
87 returns MapOfInteger from BOPCol;
88 ---C++: return const &
92 --- Returns the list of indices for vertices
94 --- that have state In
96 ChangeVerticesIn(me:out)
97 returns MapOfInteger from BOPCol;
101 --- Selector/Modifier
102 --- Returns the list of indices for vertices
104 --- that have state In
109 returns IndexedMapOfPaveBlock from BOPDS;
110 ---C++: return const &
114 --- Returns the pave blocks of the face
115 --- that have state On
117 ChangePaveBlocksOn(me:out)
118 returns IndexedMapOfPaveBlock from BOPDS;
122 --- Selector/Modifier
123 --- Returns the pave blocks
125 --- that have state On
127 returns MapOfInteger from BOPCol;
128 ---C++: return const &
132 --- Returns the list of indices for vertices
134 --- that have state On
136 ChangeVerticesOn(me:out)
137 returns MapOfInteger from BOPCol;
141 --- Selector/Modifier
142 --- Returns the list of indices for vertices
144 --- that have state On
149 returns IndexedMapOfPaveBlock from BOPDS;
150 ---C++: return const &
154 --- Returns the pave blocks of the face
155 --- that are pave blocks of section edges
157 ChangePaveBlocksSc(me:out)
158 returns IndexedMapOfPaveBlock from BOPDS;
161 --- Selector/Modifier
162 --- Returns the pave blocks of the face
163 --- that are pave blocks of section edges
166 returns MapOfInteger from BOPCol;
167 ---C++: return const &
171 --- Returns the list of indices for section vertices
174 ChangeVerticesSc(me:out)
175 returns MapOfInteger from BOPCol;
179 --- Selector/Modifier
180 --- Returns the list of indices for section vertices
189 myAllocator : BaseAllocator from BOPCol is protected;
190 myIndex : Integer from Standard is protected;
191 myPaveBlocksIn: IndexedMapOfPaveBlock from BOPDS is protected;
192 myVerticesIn : MapOfInteger from BOPCol is protected;
193 myPaveBlocksOn: IndexedMapOfPaveBlock from BOPDS is protected;
194 myVerticesOn : MapOfInteger from BOPCol is protected;
195 myPaveBlocksSc: IndexedMapOfPaveBlock from BOPDS is protected;
196 myVerticesSc : MapOfInteger from BOPCol is protected;