4e57c75e |
1 | -- Created by: Peter KURNEV |
2 | -- Copyright (c) 2010-2012 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 |
6 | -- |
7 | -- The content of this file is subject to the Open CASCADE Technology Public |
8 | -- License Version 6.5 (the "License"). You may not use the content of this file |
9 | -- except in compliance with the License. Please obtain a copy of the License |
10 | -- at http://www.opencascade.org and read it completely before using this file. |
11 | -- |
12 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
13 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
14 | -- |
15 | -- The Original Code and all software distributed under the License is |
16 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
17 | -- Initial Developer hereby disclaims all such warranties, including without |
18 | -- limitation, any warranties of merchantability, fitness for a particular |
19 | -- purpose or non-infringement. Please see the License for the specific terms |
20 | -- and conditions governing the rights and limitations under the License. |
21 | |
22 | |
23 | class IteratorSI from BOPDS |
24 | inherits Iterator from BOPDS |
25 | |
26 | ---Purpose: |
27 | -- The class BOPDS_IteratorSI is |
28 | -- 1.to compute self-intersections between BRep sub-shapes |
29 | -- of each argument of an operation (see the class BOPDS_DS) |
30 | -- in terms of theirs bounding boxes |
31 | -- 2.provides interface to iterare the pairs of |
32 | -- intersected sub-shapes of given type |
33 | |
34 | uses |
35 | BaseAllocator from BOPCol |
36 | |
37 | is |
38 | Create |
39 | returns IteratorSI from BOPDS; |
40 | ---C++: alias "Standard_EXPORT virtual ~BOPDS_IteratorSI();" |
41 | ---Purpose: |
42 | --- Empty contructor |
43 | --- |
44 | |
45 | Create (theAllocator: BaseAllocator from BOPCol) |
46 | returns IteratorSI from BOPDS; |
47 | ---Purpose: |
48 | --- Contructor |
49 | --- theAllocator - the allocator to manage the memory |
50 | --- |
51 | Intersect(me:out) |
52 | is redefined protected; |
53 | |
54 | end IteratorSI; |