0023024: Update headers of OCCT files
[occt.git] / src / BRepFill / BRepFill_ShapeLaw.cdl
CommitLineData
b311480e 1-- Created on: 1998-08-17
2-- Created by: Philippe MANGIN
3-- Copyright (c) 1998-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23class ShapeLaw from BRepFill inherits SectionLaw from BRepFill
24
25 ---Purpose: Build Section Law, with an Vertex, or an Wire
26 ---Level: Advanced
27
28uses
29 SectionLaw from GeomFill,
30 HArray1OfSectionLaw from GeomFill,
31 HArray1OfShape from TopTools,
32 Shape from GeomAbs,
33 Vertex from TopoDS,
34 Wire from TopoDS,
35 Edge from TopoDS,
36 Shape from TopoDS,
37 Function from Law
38
39is
40 Create (V: Vertex from TopoDS;
41 Build : Boolean = Standard_True )
42 ---Purpose: Construct an constant Law
43 returns ShapeLaw from BRepFill;
44
45 Create (W:Wire from TopoDS;
46 Build : Boolean = Standard_True)
47 ---Purpose: Construct an constant Law
48 returns ShapeLaw from BRepFill;
49
50 Create (W: Wire from TopoDS;
51 L: Function from Law;
52 Build : Boolean = Standard_True)
53 ---Purpose: Construct an evolutive Law
54 returns ShapeLaw from BRepFill;
55
56 IsVertex(me)
57 ---Purpose: Say if the input shape is a vertex.
58 returns Boolean
59 is redefined;
60
61 IsConstant(me)
62 ---Purpose: Say if the Law is Constant.
63 returns Boolean
64 is redefined;
65
66 ConcatenedLaw(me)
67 ---Purpose: Give the law build on a concaneted section
68 returns SectionLaw from GeomFill
69 is redefined;
70
71 Continuity(me; Index : Integer;
72 TolAngular : Real)
73 returns Shape from GeomAbs
74 is redefined;
75
76 VertexTol(me; Index : Integer;
77 Param : Real)
78 returns Real
79 is redefined;
80
81 Vertex(me; Index : Integer;
82 Param : Real)
83 returns Vertex from TopoDS
84 is redefined;
85
86 D0(me:mutable; Param : Real;
87 S : out Shape from TopoDS)
88 is redefined;
89
90 Edge(me; Index : Integer)
91 ---C++: return const &
92 ---C++: inline
93 returns Edge from TopoDS;
94
95 Init(me : mutable; B : Boolean) is private;
96
97fields
98 myShape: Shape from TopoDS;
99 myEdges: HArray1OfShape from TopTools;
100 TheLaw : Function from Law;
101 vertex : Boolean from Standard is protected;
102end ShapeLaw;