Test for 0022778: Bug in BRepMesh
[occt.git] / src / BRepGProp / BRepGProp_Domain.cdl
1 -- Created on: 1992-11-27
2 -- Created by: Isabelle GRIGNON
3 -- Copyright (c) 1992-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 class Domain from BRepGProp 
24
25         ---Purpose: Arc iterator. Returns only Forward and Reversed edges from 
26         --          the face in an undigested order.
27
28 uses Face     from TopoDS,
29      Edge     from TopoDS,
30      Explorer from TopExp
31 is
32   
33   Create returns Domain;
34         --- Purpose : Empty constructor. 
35         ---C++: inline
36   
37   Create (F : Face from TopoDS) returns Domain;
38         --- Purpose : Constructor. Initializes the domain with the face.
39         ---C++: inline
40   
41   Init(me : in out;F : Face from TopoDS);
42         --- Purpose : Initializes the domain with the face.
43         ---C++: inline
44   
45   More(me : in out)  returns Boolean from Standard
46         --- Purpose :
47         --  Returns True if there is another arc of curve in the list.
48   ---C++: inline
49   is static;
50   
51   Init(me : in out)
52         --- Purpose : Initializes the exploration with the face already set.
53         ---C++: inline
54   is static;
55   
56   Value(me : in out) returns Edge from TopoDS  
57         ---Purpose: Returns the current edge.
58         ---C++: return const &
59         ---C++: inline
60   is static;
61   
62   Next(me : in out)  
63         --- Purpose :
64         --  Sets the index of the arc iterator to the next arc of
65         --  curve.
66   is static;
67
68 fields
69
70     myExplorer : Explorer from TopExp;
71
72 end Domain;
73
74
75
76