Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BRepFill / BRepFill_SectionLaw.cdl
1 -- File:        BRepFill_SectionLaw.cdl
2 -- Created:     Wed Jan  7 12:07:03 1998
3 -- Author:      Philippe MANGIN
4 --              <pmn@sgi29>
5 ---Copyright:    Matra Datavision 1998
6
7
8 deferred  class SectionLaw from BRepFill  inherits TShared from MMgt
9
10         ---Purpose: Build Section Law, with an Vertex, or an Wire
11         ---Level: Advanced
12        
13 uses 
14  SectionLaw          from GeomFill,  
15  HArray1OfSectionLaw from  GeomFill, 
16  Shape               from  GeomAbs, 
17  Shape               from  TopoDS,
18  Wire                from  TopoDS,  
19  Edge                from  TopoDS, 
20  Vertex              from  TopoDS,  
21  WireExplorer        from  BRepTools 
22   
23  
24 is  
25   NbLaw(me)  returns  Integer;  
26    
27   Law(me; Index  :  Integer)  
28    ---C++: return const &
29     returns SectionLaw from GeomFill; 
30      
31   IsConstant(me)  returns  Boolean 
32   is  deferred; 
33   
34   IsUClosed(me)  returns  Boolean; 
35    
36   IsVClosed(me)  returns  Boolean; 
37    
38   IsVertex(me) 
39     ---Purpose: Say if the input sahpe is a  vertex. 
40   returns  Boolean   
41   is  deferred;   
42    
43   ConcatenedLaw(me)  
44   returns SectionLaw from GeomFill 
45   is  deferred;        
46
47   Continuity(me; Index  :  Integer; 
48                  TolAngular  :  Real)
49   returns  Shape  from  GeomAbs 
50   is  deferred;  
51    
52   VertexTol(me; Index  :  Integer;   
53                 Param  :  Real) 
54   returns  Real 
55   is  deferred;            
56   
57   Vertex(me;  Index  :  Integer; 
58               Param  :  Real) 
59   returns Vertex  from  TopoDS 
60   is deferred;   
61    
62   D0(me:mutable;  U  :  Real;   
63      S  :  out  Shape  from  TopoDS) 
64   is  deferred;  
65    
66   Init(me:  mutable;  W  :  Wire  from  TopoDS);  
67        
68   
69   CurrentEdge(me  :  mutable)   
70   returns  Edge  from  TopoDS;   
71   
72 fields  
73   myLaws      :  HArray1OfSectionLaw from  GeomFill is  protected; 
74   uclosed     :  Boolean       from  Standard is  protected;  
75   vclosed     :  Boolean       from  Standard is  protected;   
76   myIterator  :  WireExplorer  from  BRepTools;  
77 end SectionLaw;