0023024: Update headers of OCCT files
[occt.git] / src / BRepMAT2d / BRepMAT2d_LinkTopoBilo.cdl
CommitLineData
b311480e 1-- Created on: 1994-10-07
2-- Created by: Yves FRICAUD
3-- Copyright (c) 1994-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
23
24class LinkTopoBilo from BRepMAT2d
25
26 ---Purpose:Constucts links between the Face of the explorer and
27 -- the BasicElts contained in the bisecting locus.
28
29uses
30 Shape from TopoDS,
31 Wire from TopoDS,
32 Explorer from BRepMAT2d,
33 DataMapOfShapeSequenceOfBasicElt from BRepMAT2d,
34 DataMapOfBasicEltShape from BRepMAT2d,
35 BisectingLocus from BRepMAT2d,
36 BasicElt from MAT
37
38raises
39 ConstructionError from Standard
40
41is
42
43 Create returns LinkTopoBilo from BRepMAT2d;
44
45 Create( Explo : Explorer from BRepMAT2d;
46 BiLo : BisectingLocus from BRepMAT2d)
47 returns LinkTopoBilo from BRepMAT2d
48 ---Purpose: Constructs the links Between S and BiLo.
49 --
50 raises
51 ConstructionError from Standard;
52 ---Purpose: raises if <S> is not a face.
53
54
55 Perform( me : in out;
56 Explo : Explorer from BRepMAT2d;
57 BiLo : BisectingLocus from BRepMAT2d)
58 ---Purpose: Constructs the links Between S and BiLo.
59 --
60 raises
61 ConstructionError from Standard
62 ---Purpose: raises if <S> is not a face or a wire.
63 is static;
64
65
66 Init (me : in out; S : Shape from TopoDS)
67 ---Purpose: Initialise the Iterator on <S>
68 -- <S> is an edge or a vertex of the initial
69 -- wire or face.
70 raises
71 ConstructionError from Standard
72 ---Purpose: raises if <S> is not an edge or a vertex.
73 is static;
74
75
76 More (me : in out) returns Boolean from Standard
77 ---Purpose: Returns True if there is a current BasicElt.
78 is static;
79
80
81 Next (me : in out)
82 ---Purpose: Proceed to the next BasicElt.
83 is static;
84
85
86 Value(me) returns BasicElt from MAT
87 ---Purpose: Returns the current BasicElt.
88 is static;
89
90 GeneratingShape (me ; aBE : BasicElt from MAT)
91 ---Purpose: Returns the Shape linked to <aBE>.
92 returns Shape from TopoDS
93 is static;
94
95 LinkToWire (me : in out;
96 W : Wire from TopoDS;
97 Explo : Explorer from BRepMAT2d;
98 IndexContour : Integer from Standard;
99 BiLo : BisectingLocus from BRepMAT2d)
100 is static private;
101
102
103fields
104 myMap : DataMapOfShapeSequenceOfBasicElt from BRepMAT2d;
105 myBEShape : DataMapOfBasicEltShape from BRepMAT2d;
106 myKey : Shape from TopoDS;
107 current : Integer from Standard;
108 isEmpty : Boolean from Standard;
109
110end ;
111
112
113