0021762: Integration of new Boolean Operation algorithm to OCCT.
[occt.git] / src / BOPAlgo / BOPAlgo_Tools.cdl
CommitLineData
4e57c75e 1-- Created by: Peter KURNEV
2-- Copyright (c) 1999-2012 OPEN CASCADE SAS
3--
4-- The content of this file is subject to the Open CASCADE Technology Public
5-- License Version 6.5 (the "License"). You may not use the content of this file
6-- except in compliance with the License. Please obtain a copy of the License
7-- at http://www.opencascade.org and read it completely before using this file.
8--
9-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
10-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
11--
12-- The Original Code and all software distributed under the License is
13-- distributed on an "AS IS" basis, without warranty of any kind, and the
14-- Initial Developer hereby disclaims all such warranties, including without
15-- limitation, any warranties of merchantability, fitness for a particular
16-- purpose or non-infringement. Please see the License for the specific terms
17-- and conditions governing the rights and limitations under the License.
18
19
20class Tools from BOPAlgo
21
22---Purpose:
23
24uses
25 BaseAllocator from BOPCol,
26 IndexedDataMapOfIntegerListOfInteger from BOPCol,
27 DataMapOfIntegerListOfInteger from BOPCol,
28 PaveBlock from BOPDS,
29 IndexedDataMapOfPaveBlockListOfInteger from BOPDS,
30 IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS,
31 DataMapOfIntegerListOfPaveBlock from BOPDS
32--raises
33
34is
35 ---
36 --- static methods
37 ---
38 MakeBlocksCnx(myclass;
39 theMILI :IndexedDataMapOfIntegerListOfInteger from BOPCol;
40 theMBlocks :out DataMapOfIntegerListOfInteger from BOPCol;
41 theAllocator:out BaseAllocator from BOPCol);
42
43 MakeBlocks(myclass;
44 theMILI :IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS;
45 theMBlocks :out DataMapOfIntegerListOfPaveBlock from BOPDS;
46 theAllocator:out BaseAllocator from BOPCol);
47
48 PerformCommonBlocks(myclass;
49 theMBlocks :out IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS;
50 theAllocator:out BaseAllocator from BOPCol);
51
52 FillMap(myclass;
53 tneN1:Integer from Standard;
54 tneN2:Integer from Standard;
55 theMILI : out IndexedDataMapOfIntegerListOfInteger from BOPCol;
56 theAllocator: out BaseAllocator from BOPCol);
57
58
59 FillMap(myclass;
60 tnePB1:PaveBlock from BOPDS;
61 tnePB2:PaveBlock from BOPDS;
62 theMILI : out IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS;
63 theAllocator: out BaseAllocator from BOPCol);
64
65 FillMap(myclass;
66 tnePB1:PaveBlock from BOPDS;
67 tneF:Integer from Standard;
68 theMILI : out IndexedDataMapOfPaveBlockListOfInteger from BOPDS;
69 theAllocator: out BaseAllocator from BOPCol);
70
71 PerformCommonBlocks(myclass;
72 theMBlocks :IndexedDataMapOfPaveBlockListOfInteger from BOPDS;
73 theAllocator:out BaseAllocator from BOPCol);
74--fields
75
76end Tools;