0024058: Eliminate compiler warning C4702 in MSVC++ with warning level 4
[occt.git] / src / IntTools / IntTools_SurfaceRangeLocalizeData.cdl
CommitLineData
b311480e 1-- Created on: 2005-10-14
2-- Created by: Mikhail KLOKOV
3-- Copyright (c) 2005-2012 OPEN CASCADE SAS
4--
5-- The content of this file is subject to the Open CASCADE Technology Public
6-- License Version 6.5 (the "License"). You may not use the content of this file
7-- except in compliance with the License. Please obtain a copy of the License
8-- at http://www.opencascade.org and read it completely before using this file.
9--
10-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12--
13-- The Original Code and all software distributed under the License is
14-- distributed on an "AS IS" basis, without warranty of any kind, and the
15-- Initial Developer hereby disclaims all such warranties, including without
16-- limitation, any warranties of merchantability, fitness for a particular
17-- purpose or non-infringement. Please see the License for the specific terms
18-- and conditions governing the rights and limitations under the License.
19
7fd59977 20
21class SurfaceRangeLocalizeData from IntTools
22uses
23 Box from Bnd,
24 SurfaceRangeSample from IntTools,
25 MapOfSurfaceSample from IntTools,
26 ListOfSurfaceRangeSample from IntTools,
27 DataMapOfSurfaceSampleBox from IntTools,
28 Pnt from gp,
29 HArray1OfReal from TColStd,
30 HArray2OfPnt from TColgp
31
32is
33 Create
34 returns SurfaceRangeLocalizeData from IntTools;
35
36 Create(theNbSampleU: Integer from Standard;
37 theNbSampleV: Integer from Standard;
38 theMinRangeU: Real from Standard;
39 theMinRangeV: Real from Standard)
40 returns SurfaceRangeLocalizeData from IntTools;
41
42 Create(Other: SurfaceRangeLocalizeData from IntTools)
43 returns SurfaceRangeLocalizeData from IntTools;
44
45 Assign(me: in out; Other: SurfaceRangeLocalizeData from IntTools)
46 returns SurfaceRangeLocalizeData from IntTools;
47 ---C++: alias operator =
48 ---C++: return &
49
50 GetNbSampleU(me)
51 returns Integer from Standard;
52 ---C++: inline
53
54 GetNbSampleV(me)
55 returns Integer from Standard;
56 ---C++: inline
57
58 GetMinRangeU(me)
59 returns Real from Standard;
60 ---C++: inline
61
62 GetMinRangeV(me)
63 returns Real from Standard;
64 ---C++: inline
65
66 AddOutRange(me: in out; theRange: SurfaceRangeSample from IntTools);
67
68 AddBox(me: in out; theRange: SurfaceRangeSample from IntTools;
69 theBox: Box from Bnd);
70
71 FindBox(me; theRange: SurfaceRangeSample from IntTools;
72 theBox: out Box from Bnd)
73 returns Boolean from Standard;
74
75 IsRangeOut(me; theRange: SurfaceRangeSample from IntTools)
76 returns Boolean from Standard;
77
78 ListRangeOut(me; theList: out ListOfSurfaceRangeSample from IntTools);
79
80 RemoveRangeOutAll(me: in out);
81
82-- Modified by skv - Wed Nov 2 18:37:33 2005 Optimization Begin
83 SetGridDeflection(me: in out; theDeflection: Real from Standard);
84 ---Purpose: Set the grid deflection.
85 ---C++: inline
86
87 GetGridDeflection(me)
88 ---Purpose: Query the grid deflection.
89 ---C++: inline
90 returns Real from Standard;
91
92 SetRangeUGrid(me: in out; theNbUGrid: Integer from Standard);
93 ---Purpose: Set the range U of the grid of points.
94
95 GetRangeUGrid(me)
96 ---Purpose: Query the range U of the grid of points.
97 ---C++: inline
98 returns Integer from Standard;
99
100 SetUParam(me: in out; theIndex: Integer from Standard;
101 theUParam: Real from Standard);
102 ---Purpose: Set the U parameter of the grid points at that index.
103 ---C++: inline
104
105 GetUParam(me; theIndex: Integer from Standard)
106 ---Purpose: Query the U parameter of the grid points at that index.
107 ---C++: inline
108 returns Real from Standard;
109
110 SetRangeVGrid(me: in out; theNbVGrid: Integer from Standard);
111 ---Purpose: Set the range V of the grid of points.
112
113 GetRangeVGrid(me)
114 ---Purpose: Query the range V of the grid of points.
115 ---C++: inline
116 returns Integer from Standard;
117
118 SetVParam(me: in out; theIndex: Integer from Standard;
119 theVParam: Real from Standard);
120 ---Purpose: Set the V parameter of the grid points at that index.
121 ---C++: inline
122
123 GetVParam(me; theIndex: Integer from Standard)
124 ---Purpose: Query the V parameter of the grid points at that index.
125 ---C++: inline
126 returns Real from Standard;
127
128 SetGridPoint(me: in out; theUIndex: Integer from Standard;
129 theVIndex: Integer from Standard;
130 thePoint: Pnt from gp);
131 ---Purpose: Set the grid point.
132 ---C++: inline
133
134 GetGridPoint(me; theUIndex: Integer from Standard;
135 theVIndex: Integer from Standard)
136 ---Purpose: Set the grid point.
137 ---C++: inline
138 ---C++: return const &
139 returns Pnt from gp;
140
141 SetFrame(me: in out; theUMin: Real from Standard;
142 theUMax: Real from Standard;
143 theVMin: Real from Standard;
144 theVMax: Real from Standard);
145 ---Purpose: Sets the frame area. Used to work with grid points.
146
147 GetNBUPointsInFrame(me)
148 ---Purpose: Returns the number of grid points on U direction in frame.
149 ---C++: inline
150 returns Integer from Standard;
151
152 GetNBVPointsInFrame(me)
153 ---Purpose: Returns the number of grid points on V direction in frame.
154 ---C++: inline
155 returns Integer from Standard;
156
157 GetPointInFrame(me; theUIndex: Integer from Standard;
158 theVIndex: Integer from Standard)
159 ---Purpose: Returns the grid point in frame.
160 ---C++: return const &
161 returns Pnt from gp;
162
163 GetUParamInFrame(me; theIndex: Integer from Standard)
164 ---Purpose: Query the U parameter of the grid points
165 -- at that index in frame.
166 returns Real from Standard;
167
168 GetVParamInFrame(me; theIndex: Integer from Standard)
169 ---Purpose: Query the V parameter of the grid points
170 -- at that index in frame.
171 returns Real from Standard;
172
173 ClearGrid(me: in out);
174 ---Purpose: Clears the grid of points.
175
176-- Modified by skv - Wed Nov 2 18:37:33 2005 Optimization End
177
178fields
179 myNbSampleU: Integer from Standard;
180 myNbSampleV: Integer from Standard;
181 myMinRangeU: Real from Standard;
182 myMinRangeV: Real from Standard;
183 myMapRangeOut: MapOfSurfaceSample from IntTools;
184 myMapBox : DataMapOfSurfaceSampleBox from IntTools;
185 myUParams : HArray1OfReal from TColStd;
186 myVParams : HArray1OfReal from TColStd;
187 myGridPoints : HArray2OfPnt from TColgp;
188 myUIndMin : Integer from Standard;
189 myUIndMax : Integer from Standard;
190 myVIndMin : Integer from Standard;
191 myVIndMax : Integer from Standard;
192 myDeflection : Real from Standard;
193
194end SurfaceRangeLocalizeData from IntTools;