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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
-- File: IGESToBRep_TopoCurve.cdl
-- Created: Thu Apr 21 14:02:21 1994
-- Authors: Christophe GUYOT & Frederic UNTEREINER
-- <fun@ecolox>
---Copyright: Matra Datavision 1994
class TopoCurve from IGESToBRep inherits CurveAndSurface from IGESToBRep
---Purpose : Provides methods to transfer topologic curves entities
-- from IGES to CASCADE.
uses
CurveAndSurface from IGESToBRep,
IGESEntity from IGESData,
HArray1OfIGESEntity from IGESData,
Boundary from IGESGeom,
CompositeCurve from IGESGeom,
OffsetCurve from IGESGeom,
CurveOnSurface from IGESGeom,
Point from IGESGeom,
Edge from TopoDS,
Face from TopoDS,
Shape from TopoDS,
Vertex from TopoDS,
Wire from TopoDS,
Curve from Geom,
Surface from Geom,
BSplineCurve from Geom,
SequenceOfCurve from TColGeom,
Curve from Geom2d,
BSplineCurve from Geom2d,
SequenceOfCurve from TColGeom2d,
WireData from ShapeExtend,
Trsf2d from gp
is
Create returns TopoCurve;
---Purpose : Creates a tool TopoCurve ready to run, with
-- epsilons set to 1.E-04, TheModeTopo to True, the
-- optimization of the continuity to False.
Create(CS : CurveAndSurface from IGESToBRep) returns TopoCurve;
---Purpose : Creates a tool TopoCurve ready to run and sets its
-- fields as CS's.
Create(CS : TopoCurve from IGESToBRep) returns TopoCurve;
---Purpose : Creates a tool TopoCurve ready to run and sets its
-- fields as CS's.
Create(eps : Real;
epsGeom : Real;
epsCoeff : Real;
mode : Boolean;
modeapprox : Boolean;
optimized : Boolean) returns TopoCurve;
---Purpose : Creates a tool TopoCurve ready to run.
TransferTopoCurve (me : in out;
start : IGESEntity from IGESData)
returns Shape from TopoDS;
Transfer2dTopoCurve (me : in out;
start : IGESEntity from IGESData;
face : Face from TopoDS;
trans : Trsf2d from gp;
uFact : Real)
returns Shape from TopoDS;
TransferTopoBasicCurve (me : in out;
start : IGESEntity from IGESData)
returns Shape from TopoDS;
Transfer2dTopoBasicCurve (me : in out;
start : IGESEntity from IGESData;
face : Face from TopoDS;
trans : Trsf2d from gp;
uFact : Real)
returns Shape from TopoDS;
TransferPoint (me : in out;
start : Point from IGESGeom)
returns Vertex from TopoDS;
Transfer2dPoint (me : in out;
start : Point from IGESGeom)
returns Vertex from TopoDS;
TransferCompositeCurveGeneral (me : in out;
start : CompositeCurve from IGESGeom;
is2d : Boolean;
face : Face from TopoDS;
trans : Trsf2d from gp;
uFact : Real)
returns Shape from TopoDS is private;
TransferCompositeCurve (me : in out;
start : CompositeCurve from IGESGeom)
returns Shape from TopoDS;
Transfer2dCompositeCurve (me : in out;
start : CompositeCurve from IGESGeom;
face : Face from TopoDS;
trans : Trsf2d from gp;
uFact : Real)
returns Shape from TopoDS;
TransferOffsetCurve (me : in out;
start : OffsetCurve from IGESGeom)
returns Shape from TopoDS;
Transfer2dOffsetCurve (me : in out;
start : OffsetCurve from IGESGeom;
face : Face from TopoDS;
trans : Trsf2d from gp;
uFact : Real)
returns Shape from TopoDS;
TransferCurveOnSurface (me : in out;
start : CurveOnSurface from IGESGeom)
returns Shape from TopoDS;
TransferCurveOnFace (me : in out;
face : in out Face from TopoDS;
start : CurveOnSurface from IGESGeom;
trans : Trsf2d from gp;
uFact : Real;
IsCurv : Boolean from Standard)
returns Shape from TopoDS;
---Purpose : Transfers a CurveOnSurface directly on a face to trim it.
-- The CurveOnSurface have to be defined Outer or Inner.
TransferBoundary (me : in out;
start : Boundary from IGESGeom)
returns Shape from TopoDS;
TransferBoundaryOnFace (me : in out;
face : in out Face from TopoDS;
start : Boundary from IGESGeom;
trans : Trsf2d from gp;
uFact : Real)
returns Shape from TopoDS;
---Purpose : Transfers a Boundary directly on a face to trim it.
ApproxBSplineCurve (me : in out;
start : BSplineCurve from Geom);
NbCurves (me)
returns Integer;
---Purpose : Returns the count of Curves in "TheCurves"
Curve (me;
num : Integer = 1)
returns Curve from Geom;
---Purpose : Returns a Curve given its rank, by default the first one
-- (null Curvee if out of range) in "TheCurves"
Approx2dBSplineCurve (me : in out;
start : BSplineCurve from Geom2d);
NbCurves2d (me)
returns Integer;
---Purpose : Returns the count of Curves in "TheCurves2d"
Curve2d (me;
num : Integer = 1)
returns Curve from Geom2d;
---Purpose : Returns a Curve given its rank, by default the first one
-- (null Curvee if out of range) in "TheCurves2d"
SetBadCase (me: in out; value: Boolean);
---Purpose: Sets TheBadCase flag
BadCase (me) returns Boolean;
---Purpose: Returns TheBadCase flag
fields
TheCurves : SequenceOfCurve from TColGeom;
TheCurves2d : SequenceOfCurve from TColGeom2d;
TheBadCase : Boolean from Standard;
end TopoCurve;
|