0023024: Update headers of OCCT files
[occt.git] / src / BRepFill / BRepFill_SectionLaw.cdl
1 -- Created on: 1998-01-07
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
21
22
23 deferred  class SectionLaw from BRepFill  inherits TShared from MMgt
24
25         ---Purpose: Build Section Law, with an Vertex, or an Wire
26         ---Level: Advanced
27        
28 uses 
29  SectionLaw          from GeomFill,  
30  HArray1OfSectionLaw from  GeomFill, 
31  Shape               from  GeomAbs, 
32  Shape               from  TopoDS,
33  Wire                from  TopoDS,  
34  Edge                from  TopoDS, 
35  Vertex              from  TopoDS,  
36  WireExplorer        from  BRepTools 
37   
38  
39 is  
40   NbLaw(me)  returns  Integer;  
41    
42   Law(me; Index  :  Integer)  
43    ---C++: return const &
44     returns SectionLaw from GeomFill; 
45      
46   IsConstant(me)  returns  Boolean 
47   is  deferred; 
48   
49   IsUClosed(me)  returns  Boolean; 
50    
51   IsVClosed(me)  returns  Boolean; 
52    
53   IsVertex(me) 
54     ---Purpose: Say if the input sahpe is a  vertex. 
55   returns  Boolean   
56   is  deferred;   
57    
58   ConcatenedLaw(me)  
59   returns SectionLaw from GeomFill 
60   is  deferred;        
61
62   Continuity(me; Index  :  Integer; 
63                  TolAngular  :  Real)
64   returns  Shape  from  GeomAbs 
65   is  deferred;  
66    
67   VertexTol(me; Index  :  Integer;   
68                 Param  :  Real) 
69   returns  Real 
70   is  deferred;            
71   
72   Vertex(me;  Index  :  Integer; 
73               Param  :  Real) 
74   returns Vertex  from  TopoDS 
75   is deferred;   
76    
77   D0(me:mutable;  U  :  Real;   
78      S  :  out  Shape  from  TopoDS) 
79   is  deferred;  
80    
81   Init(me:  mutable;  W  :  Wire  from  TopoDS);  
82        
83   
84   CurrentEdge(me  :  mutable)   
85   returns  Edge  from  TopoDS;   
86   
87 fields  
88   myLaws      :  HArray1OfSectionLaw from  GeomFill is  protected; 
89   uclosed     :  Boolean       from  Standard is  protected;  
90   vclosed     :  Boolean       from  Standard is  protected;   
91   myIterator  :  WireExplorer  from  BRepTools;  
92 end SectionLaw;