blob: 195e536bad8052eadfe431901b1abdc9bd8ef593 (
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
171
172
173
174
175
176
177
178
179
180
|
-- File: IntTools_SurfaceRangeLocalizeData.cdl
-- Created: Fri Oct 14 19:27:27 2005
-- Author: Mikhail KLOKOV
-- <mkk@kurox>
---Copyright: Matra Datavision 2005
class SurfaceRangeLocalizeData from IntTools
uses
Box from Bnd,
SurfaceRangeSample from IntTools,
MapOfSurfaceSample from IntTools,
ListOfSurfaceRangeSample from IntTools,
DataMapOfSurfaceSampleBox from IntTools,
Pnt from gp,
HArray1OfReal from TColStd,
HArray2OfPnt from TColgp
is
Create
returns SurfaceRangeLocalizeData from IntTools;
Create(theNbSampleU: Integer from Standard;
theNbSampleV: Integer from Standard;
theMinRangeU: Real from Standard;
theMinRangeV: Real from Standard)
returns SurfaceRangeLocalizeData from IntTools;
Create(Other: SurfaceRangeLocalizeData from IntTools)
returns SurfaceRangeLocalizeData from IntTools;
Assign(me: in out; Other: SurfaceRangeLocalizeData from IntTools)
returns SurfaceRangeLocalizeData from IntTools;
---C++: alias operator =
---C++: return &
GetNbSampleU(me)
returns Integer from Standard;
---C++: inline
GetNbSampleV(me)
returns Integer from Standard;
---C++: inline
GetMinRangeU(me)
returns Real from Standard;
---C++: inline
GetMinRangeV(me)
returns Real from Standard;
---C++: inline
AddOutRange(me: in out; theRange: SurfaceRangeSample from IntTools);
AddBox(me: in out; theRange: SurfaceRangeSample from IntTools;
theBox: Box from Bnd);
FindBox(me; theRange: SurfaceRangeSample from IntTools;
theBox: out Box from Bnd)
returns Boolean from Standard;
IsRangeOut(me; theRange: SurfaceRangeSample from IntTools)
returns Boolean from Standard;
ListRangeOut(me; theList: out ListOfSurfaceRangeSample from IntTools);
RemoveRangeOutAll(me: in out);
-- Modified by skv - Wed Nov 2 18:37:33 2005 Optimization Begin
SetGridDeflection(me: in out; theDeflection: Real from Standard);
---Purpose: Set the grid deflection.
---C++: inline
GetGridDeflection(me)
---Purpose: Query the grid deflection.
---C++: inline
returns Real from Standard;
SetRangeUGrid(me: in out; theNbUGrid: Integer from Standard);
---Purpose: Set the range U of the grid of points.
GetRangeUGrid(me)
---Purpose: Query the range U of the grid of points.
---C++: inline
returns Integer from Standard;
SetUParam(me: in out; theIndex: Integer from Standard;
theUParam: Real from Standard);
---Purpose: Set the U parameter of the grid points at that index.
---C++: inline
GetUParam(me; theIndex: Integer from Standard)
---Purpose: Query the U parameter of the grid points at that index.
---C++: inline
returns Real from Standard;
SetRangeVGrid(me: in out; theNbVGrid: Integer from Standard);
---Purpose: Set the range V of the grid of points.
GetRangeVGrid(me)
---Purpose: Query the range V of the grid of points.
---C++: inline
returns Integer from Standard;
SetVParam(me: in out; theIndex: Integer from Standard;
theVParam: Real from Standard);
---Purpose: Set the V parameter of the grid points at that index.
---C++: inline
GetVParam(me; theIndex: Integer from Standard)
---Purpose: Query the V parameter of the grid points at that index.
---C++: inline
returns Real from Standard;
SetGridPoint(me: in out; theUIndex: Integer from Standard;
theVIndex: Integer from Standard;
thePoint: Pnt from gp);
---Purpose: Set the grid point.
---C++: inline
GetGridPoint(me; theUIndex: Integer from Standard;
theVIndex: Integer from Standard)
---Purpose: Set the grid point.
---C++: inline
---C++: return const &
returns Pnt from gp;
SetFrame(me: in out; theUMin: Real from Standard;
theUMax: Real from Standard;
theVMin: Real from Standard;
theVMax: Real from Standard);
---Purpose: Sets the frame area. Used to work with grid points.
GetNBUPointsInFrame(me)
---Purpose: Returns the number of grid points on U direction in frame.
---C++: inline
returns Integer from Standard;
GetNBVPointsInFrame(me)
---Purpose: Returns the number of grid points on V direction in frame.
---C++: inline
returns Integer from Standard;
GetPointInFrame(me; theUIndex: Integer from Standard;
theVIndex: Integer from Standard)
---Purpose: Returns the grid point in frame.
---C++: return const &
returns Pnt from gp;
GetUParamInFrame(me; theIndex: Integer from Standard)
---Purpose: Query the U parameter of the grid points
-- at that index in frame.
returns Real from Standard;
GetVParamInFrame(me; theIndex: Integer from Standard)
---Purpose: Query the V parameter of the grid points
-- at that index in frame.
returns Real from Standard;
ClearGrid(me: in out);
---Purpose: Clears the grid of points.
-- Modified by skv - Wed Nov 2 18:37:33 2005 Optimization End
fields
myNbSampleU: Integer from Standard;
myNbSampleV: Integer from Standard;
myMinRangeU: Real from Standard;
myMinRangeV: Real from Standard;
myMapRangeOut: MapOfSurfaceSample from IntTools;
myMapBox : DataMapOfSurfaceSampleBox from IntTools;
myUParams : HArray1OfReal from TColStd;
myVParams : HArray1OfReal from TColStd;
myGridPoints : HArray2OfPnt from TColgp;
myUIndMin : Integer from Standard;
myUIndMax : Integer from Standard;
myVIndMin : Integer from Standard;
myVIndMax : Integer from Standard;
myDeflection : Real from Standard;
end SurfaceRangeLocalizeData from IntTools;
|