blob: 218e0b4575fd118aa28ccb16e362ec3705260bbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
-- File: LocOpe_WiresOnShape.cdl
-- Created: Thu Jan 11 11:26:44 1996
-- Author: Jacques GOUSSARD
-- <jag@bravox>
---Copyright: Matra Datavision 1996
class WiresOnShape from LocOpe inherits ProjectedWires from LocOpe
---Purpose:
uses Shape from TopoDS,
Face from TopoDS,
Wire from TopoDS,
Edge from TopoDS,
Vertex from TopoDS,
DataMapOfShapeShape from TopTools,
-- DataMapIteratorOfDataMapOfShapeShape from TopTools
IndexedDataMapOfShapeShape from TopTools
is
Create(S: Shape from TopoDS)
returns mutable WiresOnShape from LocOpe;
Init(me: mutable; S: Shape from TopoDS)
is static;
Bind(me: mutable; W: Wire from TopoDS;
F: Face from TopoDS)
is static;
Bind(me: mutable; E: Edge from TopoDS;
F: Face from TopoDS)
is static;
Bind(me: mutable; EfromW: Edge from TopoDS;
EonFace: Edge from TopoDS)
is static;
BindAll(me: mutable)
is static;
IsDone(me)
returns Boolean from Standard
---C++: inline
is static;
InitEdgeIterator(me: mutable)
;
MoreEdge(me: mutable)
returns Boolean from Standard
;
Edge(me: mutable)
returns Edge from TopoDS
;
OnFace(me: mutable)
---Purpose: Returns the face of the shape on which the current
-- edge is projected.
returns Face from TopoDS
;
OnEdge(me: mutable; E: out Edge from TopoDS)
---Purpose: If the current edge is projected on an edge,
-- returns <Standard_True> and sets the value of <E>.
-- Otherwise, returns <Standard_False>.
returns Boolean from Standard
;
NextEdge(me: mutable)
;
OnVertex(me: mutable; Vwire : Vertex from TopoDS;
Vshape: out Vertex from TopoDS)
returns Boolean from Standard
;
OnEdge(me: mutable; V: Vertex from TopoDS;
E: out Edge from TopoDS;
P: out Real from Standard)
---Purpose: If the vertex <V> lies on an edge of the original
-- shape, returns <Standard_True> and sets the
-- concerned edge in <E>, and the parameter on the
-- edge in <P>.
-- Else returns <Standard_False>.
returns Boolean from Standard
;
fields
myShape : Shape from TopoDS;
myMapEF : IndexedDataMapOfShapeShape from TopTools;
myMap : DataMapOfShapeShape from TopTools;
myDone : Boolean from Standard;
myIndex : Integer from Standard;
end WiresOnShape;
|