blob: 3de586b7791656b4cb9ec5013bbfc4c844334e70 (
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
-- File: BRepOffset_Offset.cdl
-- Created: Thu Oct 19 14:54:41 1995
-- Author: Bruno DUMORTIER
-- <dub@fuegox>
---Copyright: Matra Datavision 1995
class Offset from BRepOffset
---Purpose: class for the creation of Offseting.
uses
Status from BRepOffset,
Shape from TopoDS,
Face from TopoDS,
Edge from TopoDS,
Vertex from TopoDS,
ListOfShape from TopTools,
DataMapOfShapeShape from TopTools,
Shape from GeomAbs,
JoinType from GeomAbs
is
Create returns Offset from BRepOffset;
Create( Face : Face from TopoDS;
Offset : Real from Standard;
OffsetOutside : Boolean from Standard = Standard_True;
JoinType : JoinType from GeomAbs = GeomAbs_Arc)
---Purpose:
returns Offset from BRepOffset;
Create( Face : Face from TopoDS;
Offset : Real from Standard;
Created : DataMapOfShapeShape from TopTools;
OffsetOutside : Boolean from Standard = Standard_True;
JoinType : JoinType from GeomAbs = GeomAbs_Arc)
---Purpose: This method will be called when you want to share
-- the edges soon generated from an other face.
-- e.g. when two faces are tangents the common edge
-- will generate only one edge ( no pipe).
--
-- The Map will be fill as follow:
--
-- Created(E) = E'
-- with: E = an edge of <Face>
-- E' = the image of E in the offseting of
-- another face sharing E with a
-- continuity at least G1
--
returns Offset from BRepOffset;
Create( Path : Edge from TopoDS;
Edge1 : Edge from TopoDS;
Edge2 : Edge from TopoDS;
Offset : Real from Standard;
Polynomial: Boolean from Standard = Standard_False;
Tol : Real from Standard = 1.0e-4;
Conti : Shape from GeomAbs = GeomAbs_C1)
---Purpose:
returns Offset from BRepOffset;
Create( Path : Edge from TopoDS;
Edge1 : Edge from TopoDS;
Edge2 : Edge from TopoDS;
Offset : Real from Standard;
FirstEdge : Edge from TopoDS;
LastEdge : Edge from TopoDS;
Polynomial: Boolean from Standard = Standard_False;
Tol : Real from Standard = 1.0e-4;
Conti : Shape from GeomAbs = GeomAbs_C1)
---Purpose:
returns Offset from BRepOffset;
Create( Vertex : Vertex from TopoDS;
LEdge : ListOfShape from TopTools;
Offset : Real from Standard;
Polynomial: Boolean from Standard = Standard_False;
Tol : Real from Standard = 1.0e-4;
Conti : Shape from GeomAbs = GeomAbs_C1)
---Purpose: Tol and Conti are only used if Polynomial is True
-- (Used to perfrom the approximation)
returns Offset from BRepOffset;
Init( me : in out;
Face : Face from TopoDS;
Offset : Real from Standard;
OffsetOutside : Boolean from Standard = Standard_True;
JoinType : JoinType from GeomAbs = GeomAbs_Arc)
---Purpose:
is static;
Init( me : in out;
Face : Face from TopoDS;
Offset : Real from Standard;
Created : DataMapOfShapeShape from TopTools;
OffsetOutside : Boolean from Standard = Standard_True;
JoinType : JoinType from GeomAbs = GeomAbs_Arc)
---Purpose:
is static;
Init( me : in out;
Path : Edge from TopoDS;
Edge1 : Edge from TopoDS;
Edge2 : Edge from TopoDS;
Offset : Real from Standard;
Polynomial: Boolean from Standard = Standard_False;
Tol : Real from Standard = 1.0e-4;
Conti : Shape from GeomAbs = GeomAbs_C1)
---Purpose:
is static;
Init( me : in out;
Path : Edge from TopoDS;
Edge1 : Edge from TopoDS;
Edge2 : Edge from TopoDS;
Offset : Real from Standard;
FirstEdge : Edge from TopoDS;
LastEdge : Edge from TopoDS;
Polynomial: Boolean from Standard = Standard_False;
Tol : Real from Standard = 1.0e-4;
Conti : Shape from GeomAbs = GeomAbs_C1)
---Purpose:
is static;
Init( me: in out;
Vertex : Vertex from TopoDS;
LEdge : ListOfShape from TopTools;
Offset : Real from Standard;
Polynomial: Boolean from Standard = Standard_False;
Tol : Real from Standard = 1.0e-4;
Conti : Shape from GeomAbs = GeomAbs_C1)
---Purpose: Tol and Conti are only used if Polynomial is True
-- (Used to perfrom the approximation)
is static;
Init( me : in out;
Edge : Edge from TopoDS;
Offset : Real from Standard)
---Purpose: Only used in Rolling Ball. Pipe on Free Boundary
is static;
InitialShape(me)
---C++: return const &
---C++: inline
returns Shape from TopoDS;
Face( me)
---C++: return const &
returns Face from TopoDS;
Generated(me; Shape : Shape from TopoDS)
---Purpose:
returns Shape from TopoDS;
Status( me)
---Purpose:
returns Status from BRepOffset;
fields
myShape : Shape from TopoDS;
myStatus : Status from BRepOffset;
myFace : Face from TopoDS;
myMap : DataMapOfShapeShape from TopTools;
end Offset;
|