0023429: BRepFeat_SplitShape algorithm misses some section edges while building resul...
[occt.git] / src / LocOpe / LocOpe_FindEdges.cdl
1 -- Created on: 1996-02-15
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1996-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
24 class FindEdges from LocOpe
25
26         ---Purpose: 
27
28 uses Shape                      from TopoDS,
29      Edge                      from TopoDS,
30      ListOfShape               from TopTools,
31      ListIteratorOfListOfShape from TopTools
32      
33
34 raises ConstructionError from Standard,
35        NoSuchObject      from Standard,
36        NoMoreObject      from Standard
37
38 is
39
40     Create
41         returns FindEdges from LocOpe;
42         ---C++: inline
43
44
45
46     Create(FFrom,FTo: Shape from TopoDS)
47     
48         ---C++: inline
49         returns FindEdges from LocOpe
50         raises ConstructionError from Standard;
51         
52         
53     Set(me: in out; FFrom, FTo: Shape from TopoDS)
54     
55         raises ConstructionError from Standard
56         is static;
57
58
59     InitIterator(me: in out)
60     
61         ---C++: inline
62         is static;
63
64
65     More(me)
66     
67         returns Boolean from Standard
68         ---C++: inline
69         is static;
70
71
72     EdgeFrom(me)
73     
74         returns Edge from TopoDS
75         ---C++: return const&
76         ---C++: inline
77         raises NoSuchObject from Standard
78         is static;
79
80
81     EdgeTo(me)
82     
83         returns Edge from TopoDS
84         ---C++: return const&
85         ---C++: inline
86         raises NoSuchObject from Standard
87         is static;
88
89
90     Next(me: in out)
91     
92         ---C++: inline
93         raises NoMoreObject from Standard
94         is static;
95
96
97 fields
98
99     myFFrom  : Shape                     from TopoDS;
100     myFTo    : Shape                     from TopoDS;
101     myLFrom  : ListOfShape               from TopTools;
102     myLTo    : ListOfShape               from TopTools;
103     myItFrom : ListIteratorOfListOfShape from TopTools;
104     myItTo   : ListIteratorOfListOfShape from TopTools;
105
106 end FindEdges;