0022627: Change OCCT memory management defaults
[occt.git] / src / BRepFill / BRepFill_ShapeLaw.cdl
CommitLineData
7fd59977 1-- File: BRepFill_ShapeLaw.cdl
2-- Created: Mon Aug 17 10:17:21 1998
3-- Author: Philippe MANGIN
4-- <pmn@sgi29>
5---Copyright: Matra Datavision 1998
6
7
8class ShapeLaw from BRepFill inherits SectionLaw from BRepFill
9
10 ---Purpose: Build Section Law, with an Vertex, or an Wire
11 ---Level: Advanced
12
13uses
14 SectionLaw from GeomFill,
15 HArray1OfSectionLaw from GeomFill,
16 HArray1OfShape from TopTools,
17 Shape from GeomAbs,
18 Vertex from TopoDS,
19 Wire from TopoDS,
20 Edge from TopoDS,
21 Shape from TopoDS,
22 Function from Law
23
24is
25 Create (V: Vertex from TopoDS;
26 Build : Boolean = Standard_True )
27 ---Purpose: Construct an constant Law
28 returns ShapeLaw from BRepFill;
29
30 Create (W:Wire from TopoDS;
31 Build : Boolean = Standard_True)
32 ---Purpose: Construct an constant Law
33 returns ShapeLaw from BRepFill;
34
35 Create (W: Wire from TopoDS;
36 L: Function from Law;
37 Build : Boolean = Standard_True)
38 ---Purpose: Construct an evolutive Law
39 returns ShapeLaw from BRepFill;
40
41 IsVertex(me)
42 ---Purpose: Say if the input shape is a vertex.
43 returns Boolean
44 is redefined;
45
46 IsConstant(me)
47 ---Purpose: Say if the Law is Constant.
48 returns Boolean
49 is redefined;
50
51 ConcatenedLaw(me)
52 ---Purpose: Give the law build on a concaneted section
53 returns SectionLaw from GeomFill
54 is redefined;
55
56 Continuity(me; Index : Integer;
57 TolAngular : Real)
58 returns Shape from GeomAbs
59 is redefined;
60
61 VertexTol(me; Index : Integer;
62 Param : Real)
63 returns Real
64 is redefined;
65
66 Vertex(me; Index : Integer;
67 Param : Real)
68 returns Vertex from TopoDS
69 is redefined;
70
71 D0(me:mutable; Param : Real;
72 S : out Shape from TopoDS)
73 is redefined;
74
75 Edge(me; Index : Integer)
76 ---C++: return const &
77 ---C++: inline
78 returns Edge from TopoDS;
79
80 Init(me : mutable; B : Boolean) is private;
81
82fields
83 myShape: Shape from TopoDS;
84 myEdges: HArray1OfShape from TopTools;
85 TheLaw : Function from Law;
86 vertex : Boolean from Standard is protected;
87end ShapeLaw;