0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / BRepFill / BRepFill_Draft.cdl
CommitLineData
973c2be1 1-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 2--
973c2be1 3-- This file is part of Open CASCADE Technology software library.
b311480e 4--
d5f74e42 5-- This library is free software; you can redistribute it and/or modify it under
6-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 7-- by the Free Software Foundation, with special exception defined in the file
8-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 10--
973c2be1 11-- Alternatively, this file may be used under the terms of Open CASCADE
12-- commercial license or contractual agreement.
7fd59977 13
14class Draft from BRepFill
15
16uses
17 LocationDraft from GeomFill,
18 Dir from gp,
19 Box from Bnd,
20 Surface from Geom,
21
22 SectionLaw from BRepFill,
23 DraftLaw from BRepFill,
24 TransitionStyle from BRepFill,
25
26 HCurve from Adaptor3d,
27 Shape from GeomAbs,
28 Shape from TopoDS,
29 Shell from TopoDS,
30 Face from TopoDS,
31 Wire from TopoDS,
32 ListOfShape from TopTools,
33 HArray2OfShape from TopTools
34
35raises
36 NotDone
37
38is
39 Create(Shape : Shape from TopoDS;
40 Dir : Dir from gp;
41 Angle : Real)
42 ---Purpose:
43
44 returns Draft from BRepFill;
45
46 SetOptions(me : in out;
47 Style : TransitionStyle from BRepFill = BRepFill_Right;
48 AngleMin : Real = 0.01;
49 AngleMax : Real = 3.0);
50 ---Purpose:
51
52 SetDraft(me: in out; IsInternal : Boolean = Standard_False);
53 ---Purpose:
54
55
56
57 Perform(me : in out;
58 LengthMax : Real)
59 is static;
60 ---Purpose:
61
62 Perform(me : in out;
63 Surface : Surface from Geom;
64 KeepInsideSurface : Boolean = Standard_True)
65 is static;
66 ---Purpose:
67
68
69 Perform(me : in out;
70 StopShape : Shape from TopoDS;
71 KeepOutSide : Boolean = Standard_True)
72 is static;
73 ---Purpose:
74
75 IsDone(me)
76 returns Boolean;
77
78 Shell(me)
79 ---Purpose: Returns the draft surface
80 -- To have the complete shape
81 -- you have to use the Shape() methode.
82 returns Shell from TopoDS
83 raises NotDone;
84
85 Generated (me: in out; S : Shape from TopoDS)
86 ---Purpose: Returns the list of shapes generated from the
87 -- shape <S>.
88 ---C++: return const &
89 ---Level: Public
90 returns ListOfShape from TopTools;
91
92 Shape(me)
93 returns Shape from TopoDS;
94 -- retourne la shape resultat
95
96 Init(me:in out; Surf : Surface from Geom;
97 Length : Real;
98 Box : Box from Bnd)
99 is private;
100
101
102 BuildShell(me:in out; Surf : Surface from Geom;
103 KeepOutSide : Boolean = Standard_False)
104 is private;
105
106 Fuse(me:in out; S : Shape from TopoDS;
107 KeepOutSide : Boolean)
108 returns Boolean is private;
109
110 Sewing(me: in out)
111 returns Boolean is private;
112
113fields
114 myDir : Dir from gp;
115 myAngle : Real;
116 angmin, angmax : Real;
117 myTol : Real;
118 myLoc : DraftLaw from BRepFill;
119 mySec : SectionLaw from BRepFill;
120 mySections: HArray2OfShape from TopTools;
121 myFaces : HArray2OfShape from TopTools;
122 myGenerated : ListOfShape from TopTools;
123
124 myShape : Shape from TopoDS;
125 myTop : Shape from TopoDS;
126 myShell : Shell from TopoDS;
127 myWire : Wire from TopoDS;
128 myCont : Shape from GeomAbs;
129 myStyle : TransitionStyle from BRepFill;
130 IsInternal : Boolean;
131 myDone : Boolean;
132end Draft;
133
134