0024624: Lost word in license statement in source files
[occt.git] / src / BOPTools / BOPTools_Set.cdl
CommitLineData
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--
d5f74e42 6-- This library is free software; you can redistribute it and/or modify it under
7-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 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
15class Set from BOPTools
16
17 ---Purpose:
18
19uses
20 ShapeEnum from TopAbs,
21 Shape from TopoDS,
22 ListOfShape from BOPCol,
23 BaseAllocator from BOPCol
24
25--raises
26
27is
28 Create
29 returns Set from BOPTools;
30 ---C++: alias "virtual ~BOPTools_Set();"
31 ---C++: inline
32
33 Create (theAllocator: BaseAllocator from BOPCol)
34 returns Set from BOPTools;
35 ---C++: inline
36
37 Assign(me:out;
38 Other : Set from BOPTools)
39 returns Set from BOPTools;
40 ---C++: alias operator =
41 ---C++: return &
42 ---C++: inline
43
44 Clear(me:out)
45 is protected;
46 ---C++: inline
47
48 Shape(me)
49 returns Shape from TopoDS;
50 ---C++: return const &
51 ---C++: inline
52
53 Add(me:out;
54 theS:Shape from TopoDS;
55 theType: ShapeEnum from TopAbs);
56 ---C++: inline
57
58 AddEdges(me:out;
59 theS:Shape from TopoDS);
60 ---C++: inline
61
62 NbShapes(me)
63 returns Integer from Standard;
64 ---C++: inline
65
66 IsEqual(me;
67 aOther:Set from BOPTools)
68 returns Boolean from Standard;
69 ---C++: inline
70
71 HashCode(me;
72 Upper : Integer from Standard)
73 returns Integer from Standard;
74 ---C++: inline
75
76fields
77 myAllocator : BaseAllocator from BOPCol is protected;
78 myShapes : ListOfShape from BOPCol is protected;
79 myShape : Shape from TopoDS is protected;
80 myNbShapes : Integer from Standard is protected;
81 mySum : Integer from Standard is protected;
82 myUpper : Integer from Standard is protected;
83
84end Set;