4e57c75e |
1 | -- Created by: Peter KURNEV |
973c2be1 |
2 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
4e57c75e |
3 | -- |
973c2be1 |
4 | -- This file is part of Open CASCADE Technology software library. |
4e57c75e |
5 | -- |
973c2be1 |
6 | -- This library is free software; you can redistribute it and / or modify it |
7 | -- under the terms of the GNU Lesser General Public version 2.1 as published |
8 | -- by the Free Software Foundation, with special exception defined in the file |
9 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | -- distribution for complete text of the license and disclaimer of any warranty. |
4e57c75e |
11 | -- |
973c2be1 |
12 | -- Alternatively, this file may be used under the terms of Open CASCADE |
13 | -- commercial license or contractual agreement. |
4e57c75e |
14 | |
15 | class WireSplitter from BOPAlgo |
16 | inherits Algo from BOPAlgo |
17 | |
18 | ---Purpose: |
19 | |
20 | uses |
21 | Wire from TopoDS, |
22 | BaseAllocator from BOPCol, |
23 | ListOfShape from BOPCol, |
24 | WireEdgeSet from BOPAlgo, |
25 | PWireEdgeSet from BOPAlgo, |
26 | ConnexityBlock from BOPTools, |
27 | ListOfConnexityBlock from BOPTools |
28 | |
29 | |
30 | --raises |
31 | |
32 | is |
33 | Create |
34 | returns WireSplitter from BOPAlgo; |
35 | ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_WireSplitter();" |
36 | |
37 | Create(theAllocator: BaseAllocator from BOPCol) |
38 | returns WireSplitter from BOPAlgo; |
39 | |
40 | SetWES(me:out; |
41 | theWES: WireEdgeSet from BOPAlgo); |
42 | |
43 | |
44 | WES(me:out) |
45 | returns WireEdgeSet from BOPAlgo; |
46 | ---C++: return & |
47 | |
48 | Perform(me:out) |
49 | is redefined; |
50 | |
51 | MakeWire(myclass; |
52 | theLE:out ListOfShape from BOPCol; |
53 | theW :out Wire from TopoDS); |
54 | ---C++: inline |
55 | |
56 | CheckData(me:out) |
57 | is redefined protected; |
58 | |
59 | MakeConnexityBlocks(me:out) |
60 | is protected; |
61 | |
62 | MakeWires(me:out) |
63 | is protected; |
64 | |
65 | SplitBlock(me:out; |
66 | theCB:out ConnexityBlock from BOPTools) |
67 | is protected; |
68 | |
69 | fields |
70 | myWES : PWireEdgeSet from BOPAlgo is protected; |
71 | myLCB : ListOfConnexityBlock from BOPTools is protected; |
72 | |
73 | end WireSplitter; |