0024428: Implementation of LGPL license
[occt.git] / src / BRepFill / BRepFill_TrimShellCorner.cdl
1 -- Created on: 2003-10-21
2 -- Created by: Mikhail KLOKOV
3 -- Copyright (c) 2003-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and / or modify it
8 -- under the terms of the GNU Lesser General Public version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 class TrimShellCorner from BRepFill
17
18 uses
19     Ax2    from  gp,
20     Shape  from  TopoDS,
21     Wire   from  TopoDS,
22     Face   from  TopoDS,
23     ListOfShape    from  TopTools,
24     HArray2OfShape from  TopTools,
25     DataMapOfShapeListOfShape  from  TopTools
26
27 is
28     Create(theFaces         : HArray2OfShape from  TopTools;
29            theAxeOfBisPlane : Ax2  from  gp;
30            theSecPlane      : Face from TopoDS)
31          returns TrimShellCorner from BRepFill;
32
33     Create(theFaces         : HArray2OfShape from  TopTools;
34            theAxeOfBisPlane :  Ax2  from  gp;
35            theSpine         :  Wire  from  TopoDS;
36            theSecPlane      : Face from TopoDS)
37          returns TrimShellCorner from BRepFill;
38
39     SetSpine(me: in out; theSpine:  Wire  from  TopoDS);
40
41     AddBounds(me  :  in  out; Bounds : HArray2OfShape from  TopTools);
42
43     AddUEdges(me  :  in  out; theUEdges : HArray2OfShape from  TopTools);
44
45     Perform(me :  in  out);
46
47     IsDone(me)  returns  Boolean from Standard; 
48     
49     HasSection(me)  returns  Boolean from Standard;
50
51     Modified(me:in  out; S  :  Shape  from  TopoDS;
52                          theModified: out ListOfShape  from  TopTools);
53
54 fields
55     myAxeOfBisPlane     : Ax2   from  gp;
56     myShape1 : Shape from TopoDS;
57     myShape2 : Shape from TopoDS;
58     mySpine  : Wire from TopoDS;
59     mySecPln : Face from TopoDS;
60     myBounds : HArray2OfShape from  TopTools;
61     myUEdges : HArray2OfShape from  TopTools;
62     myFaces  : HArray2OfShape from  TopTools;
63     myDone   : Boolean from Standard;
64     myHasSection: Boolean from Standard;
65     myHistMap:  DataMapOfShapeListOfShape  from  TopTools; 
66
67 end TrimShellCorner from BRepFill;