blob: fdc5b60691a1001754adcebe82cda146cce232bf (
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
128
|
-- File: BRepOffset_Analyse.cdl
-- Created: Fri Oct 20 16:40:49 1995
-- Author: Yves FRICAUD
-- <yfr@stylox>
---Copyright: Matra Datavision 1995
class Analyse from BRepOffset
---Purpose: Analyse of a shape consit to
-- Find the part of edges convex concave tangent.
uses
Shape from TopoDS,
Face from TopoDS,
Edge from TopoDS,
Vertex from TopoDS,
Compound from TopoDS,
IndexedDataMapOfShapeListOfShape from TopTools,
ListOfShape from TopTools,
MapOfShape from TopTools,
Interval from BRepOffset,
ListOfInterval from BRepOffset,
DataMapOfShapeListOfInterval from BRepOffset,
Type from BRepOffset
is
Create;
Create (S : Shape from TopoDS ;
Angle : Real from Standard)
returns Analyse from BRepOffset;
Perform (me : in out ;
S : Shape from TopoDS ;
Angle : Real from Standard)
is static;
IsDone (me)
returns Boolean from Standard
is static;
Clear(me : in out)
is static;
Type (me; E : Edge from TopoDS)
---C++: return const&
returns ListOfInterval from BRepOffset
is static;
Edges (me;
V : Vertex from TopoDS;
T : Type from BRepOffset;
L : in out ListOfShape from TopTools)
---Purpose: Stores in <L> all the edges of Type <T>
-- on the vertex <V>.
is static;
Edges (me;
F : Face from TopoDS;
T : Type from BRepOffset;
L : in out ListOfShape from TopTools)
---Purpose: Stores in <L> all the edges of Type <T>
-- on the face <F>.
is static;
TangentEdges(me;
Edge : Edge from TopoDS;
Vertex : Vertex from TopoDS;
Edges : in out ListOfShape from TopTools)
---Purpose: set in <Edges> all the Edges of <Shape> which are
-- tangent to <Edge> at the vertex <Vertex>.
is static;
HasAncestor (me ; S : Shape from TopoDS)
returns Boolean from Standard
is static;
Ancestors (me ; S : Shape from TopoDS)
---C++: return const &
returns ListOfShape from TopTools
is static;
Explode (me;
L : in out ListOfShape from TopTools;
Type : in Type from BRepOffset)
---Purpose: Explode in compounds of faces where
-- all the connex edges are of type <Side>
is static;
Explode (me;
L : in out ListOfShape from TopTools;
Type1 : in Type from BRepOffset;
Type2 : in Type from BRepOffset)
---Purpose: Explode in compounds of faces where
-- all the connex edges are of type <Side1> or <Side2>
is static;
AddFaces(me;
Face : Face from TopoDS;
Co : in out Compound from TopoDS;
Map : in out MapOfShape from TopTools;
Type : in Type from BRepOffset)
---Purpose: Add in <CO> the faces of the shell containing <Face>
-- where all the connex edges are of type <Side>.
is static;
AddFaces(me;
Face : Face from TopoDS;
Co : in out Compound from TopoDS;
Map : in out MapOfShape from TopTools;
Type1 : in Type from BRepOffset;
Type2 : in Type from BRepOffset)
---Purpose: Add in <CO> the faces of the shell containing <Face>
-- where all the connex edges are of type <Side1> or <Side2>.
is static;
fields
myDone : Boolean from Standard;
myShape : Shape from TopoDS;
mapEdgeType : DataMapOfShapeListOfInterval from BRepOffset;
ancestors : IndexedDataMapOfShapeListOfShape from TopTools;
angle : Real from Standard;
end Analyse;
|