0024023: Revamp the OCCT Handle -- ambiguity
[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
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class LinkTopoBilo from BRepMAT2d
18
ff8178ef 19 ---Purpose:Constucts links between the Wire or the Face of the explorer and
7fd59977 20 -- the BasicElts contained in the bisecting locus.
21
22uses
23 Shape from TopoDS,
24 Wire from TopoDS,
25 Explorer from BRepMAT2d,
26 DataMapOfShapeSequenceOfBasicElt from BRepMAT2d,
27 DataMapOfBasicEltShape from BRepMAT2d,
28 BisectingLocus from BRepMAT2d,
29 BasicElt from MAT
30
31raises
32 ConstructionError from Standard
33
34is
35
36 Create returns LinkTopoBilo from BRepMAT2d;
37
38 Create( Explo : Explorer from BRepMAT2d;
39 BiLo : BisectingLocus from BRepMAT2d)
40 returns LinkTopoBilo from BRepMAT2d
41 ---Purpose: Constructs the links Between S and BiLo.
42 --
43 raises
44 ConstructionError from Standard;
45 ---Purpose: raises if <S> is not a face.
46
47
48 Perform( me : in out;
49 Explo : Explorer from BRepMAT2d;
50 BiLo : BisectingLocus from BRepMAT2d)
51 ---Purpose: Constructs the links Between S and BiLo.
52 --
53 raises
54 ConstructionError from Standard
55 ---Purpose: raises if <S> is not a face or a wire.
56 is static;
57
58
59 Init (me : in out; S : Shape from TopoDS)
60 ---Purpose: Initialise the Iterator on <S>
61 -- <S> is an edge or a vertex of the initial
62 -- wire or face.
63 raises
64 ConstructionError from Standard
65 ---Purpose: raises if <S> is not an edge or a vertex.
66 is static;
67
68
69 More (me : in out) returns Boolean from Standard
70 ---Purpose: Returns True if there is a current BasicElt.
71 is static;
72
73
74 Next (me : in out)
75 ---Purpose: Proceed to the next BasicElt.
76 is static;
77
78
79 Value(me) returns BasicElt from MAT
80 ---Purpose: Returns the current BasicElt.
81 is static;
82
83 GeneratingShape (me ; aBE : BasicElt from MAT)
84 ---Purpose: Returns the Shape linked to <aBE>.
85 returns Shape from TopoDS
86 is static;
87
88 LinkToWire (me : in out;
89 W : Wire from TopoDS;
90 Explo : Explorer from BRepMAT2d;
91 IndexContour : Integer from Standard;
92 BiLo : BisectingLocus from BRepMAT2d)
93 is static private;
94
95
96fields
97 myMap : DataMapOfShapeSequenceOfBasicElt from BRepMAT2d;
98 myBEShape : DataMapOfBasicEltShape from BRepMAT2d;
99 myKey : Shape from TopoDS;
100 current : Integer from Standard;
101 isEmpty : Boolean from Standard;
102
103end ;
104
105
106