b311480e |
1 | -- Created on: 2005-10-05 |
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 | |
21 | class SurfaceRangeSample from IntTools |
22 | uses |
23 | Range from IntTools, |
24 | CurveRangeSample from IntTools |
25 | |
26 | is |
27 | Create |
28 | returns SurfaceRangeSample from IntTools; |
29 | |
30 | Create(theIndexU, theDepthU,theIndexV, theDepthV: Integer from Standard) |
31 | returns SurfaceRangeSample from IntTools; |
32 | |
33 | Create(theRangeU, theRangeV: CurveRangeSample from IntTools) |
34 | returns SurfaceRangeSample from IntTools; |
35 | |
36 | Create(Other: SurfaceRangeSample from IntTools) |
37 | returns SurfaceRangeSample from IntTools; |
38 | |
39 | Assign(me: in out; Other: SurfaceRangeSample from IntTools) |
40 | returns SurfaceRangeSample from IntTools; |
41 | ---C++: alias operator = |
42 | ---C++: return & |
43 | |
44 | SetRanges(me: in out; theRangeU, theRangeV: CurveRangeSample from IntTools); |
45 | ---C++: inline |
46 | |
47 | GetRanges(me; theRangeU, theRangeV: out CurveRangeSample from IntTools); |
48 | ---C++: inline |
49 | |
50 | SetIndexes(me: in out; theIndexU, theIndexV: Integer from Standard); |
51 | ---C++: inline |
52 | |
53 | GetIndexes(me; theIndexU: out Integer from Standard; |
54 | theIndexV: out Integer from Standard); |
55 | ---C++: inline |
56 | |
57 | GetDepths(me; theDepthU: out Integer from Standard; |
58 | theDepthV: out Integer from Standard); |
59 | ---C++: inline |
60 | |
61 | SetSampleRangeU(me: in out; theRangeSampleU: CurveRangeSample from IntTools); |
62 | ---C++: inline |
63 | |
64 | GetSampleRangeU(me) |
65 | returns CurveRangeSample from IntTools; |
66 | ---C++: return const & |
67 | ---C++: inline |
68 | |
69 | SetSampleRangeV(me: in out; theRangeSampleV: CurveRangeSample from IntTools); |
70 | ---C++: inline |
71 | |
72 | GetSampleRangeV(me) |
73 | returns CurveRangeSample from IntTools; |
74 | ---C++: return const & |
75 | ---C++: inline |
76 | |
77 | SetIndexU(me: in out; theIndexU: Integer from Standard); |
78 | ---C++: inline |
79 | |
80 | GetIndexU(me) |
81 | returns Integer from Standard; |
82 | ---C++: inline |
83 | |
84 | SetIndexV(me: in out; theIndexV: Integer from Standard); |
85 | ---C++: inline |
86 | |
87 | GetIndexV(me) |
88 | returns Integer from Standard; |
89 | ---C++: inline |
90 | |
91 | -- |
92 | SetDepthU(me: in out; theDepthU: Integer from Standard); |
93 | ---C++: inline |
94 | |
95 | GetDepthU(me) |
96 | returns Integer from Standard; |
97 | ---C++: inline |
98 | |
99 | SetDepthV(me: in out; theDepthV: Integer from Standard); |
100 | ---C++: inline |
101 | |
102 | GetDepthV(me) |
103 | returns Integer from Standard; |
104 | ---C++: inline |
105 | |
106 | |
107 | GetRangeU(me; theFirstU, theLastU: Real from Standard; |
108 | theNbSampleU: Integer from Standard) |
109 | returns Range from IntTools; |
110 | |
111 | GetRangeV(me; theFirstV, theLastV: Real from Standard; |
112 | theNbSampleV: Integer from Standard) |
113 | returns Range from IntTools; |
114 | |
115 | IsEqual(me; Other: SurfaceRangeSample from IntTools) |
116 | returns Boolean from Standard; |
117 | ---C++: inline |
118 | |
119 | GetRangeIndexUDeeper(me; theNbSampleU: Integer from Standard) |
120 | returns Integer from Standard; |
121 | ---C++: inline |
122 | |
123 | |
124 | GetRangeIndexVDeeper(me; theNbSampleV: Integer from Standard) |
125 | returns Integer from Standard; |
126 | ---C++: inline |
127 | |
128 | fields |
129 | myRangeU: CurveRangeSample from IntTools; |
130 | myRangeV: CurveRangeSample from IntTools; |
131 | |
132 | end SurfaceRangeSample from IntTools; |