b311480e |
1 | -- Created on: 2005-10-05 |
2 | -- Created by: Mikhail KLOKOV |
973c2be1 |
3 | -- Copyright (c) 2005-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
7fd59977 |
15 | |
16 | class SurfaceRangeSample from IntTools |
ff8178ef |
17 | ---Purpose: class for range index management of surface |
18 | |
7fd59977 |
19 | uses |
20 | Range from IntTools, |
21 | CurveRangeSample from IntTools |
22 | |
23 | is |
24 | Create |
25 | returns SurfaceRangeSample from IntTools; |
26 | |
27 | Create(theIndexU, theDepthU,theIndexV, theDepthV: Integer from Standard) |
28 | returns SurfaceRangeSample from IntTools; |
29 | |
30 | Create(theRangeU, theRangeV: CurveRangeSample from IntTools) |
31 | returns SurfaceRangeSample from IntTools; |
32 | |
33 | Create(Other: SurfaceRangeSample from IntTools) |
34 | returns SurfaceRangeSample from IntTools; |
35 | |
36 | Assign(me: in out; Other: SurfaceRangeSample from IntTools) |
37 | returns SurfaceRangeSample from IntTools; |
38 | ---C++: alias operator = |
39 | ---C++: return & |
40 | |
41 | SetRanges(me: in out; theRangeU, theRangeV: CurveRangeSample from IntTools); |
42 | ---C++: inline |
43 | |
44 | GetRanges(me; theRangeU, theRangeV: out CurveRangeSample from IntTools); |
45 | ---C++: inline |
46 | |
47 | SetIndexes(me: in out; theIndexU, theIndexV: Integer from Standard); |
48 | ---C++: inline |
49 | |
50 | GetIndexes(me; theIndexU: out Integer from Standard; |
51 | theIndexV: out Integer from Standard); |
52 | ---C++: inline |
53 | |
54 | GetDepths(me; theDepthU: out Integer from Standard; |
55 | theDepthV: out Integer from Standard); |
56 | ---C++: inline |
57 | |
58 | SetSampleRangeU(me: in out; theRangeSampleU: CurveRangeSample from IntTools); |
59 | ---C++: inline |
60 | |
61 | GetSampleRangeU(me) |
62 | returns CurveRangeSample from IntTools; |
63 | ---C++: return const & |
64 | ---C++: inline |
65 | |
66 | SetSampleRangeV(me: in out; theRangeSampleV: CurveRangeSample from IntTools); |
67 | ---C++: inline |
68 | |
69 | GetSampleRangeV(me) |
70 | returns CurveRangeSample from IntTools; |
71 | ---C++: return const & |
72 | ---C++: inline |
73 | |
74 | SetIndexU(me: in out; theIndexU: Integer from Standard); |
75 | ---C++: inline |
76 | |
77 | GetIndexU(me) |
78 | returns Integer from Standard; |
79 | ---C++: inline |
80 | |
81 | SetIndexV(me: in out; theIndexV: Integer from Standard); |
82 | ---C++: inline |
83 | |
84 | GetIndexV(me) |
85 | returns Integer from Standard; |
86 | ---C++: inline |
87 | |
88 | -- |
89 | SetDepthU(me: in out; theDepthU: Integer from Standard); |
90 | ---C++: inline |
91 | |
92 | GetDepthU(me) |
93 | returns Integer from Standard; |
94 | ---C++: inline |
95 | |
96 | SetDepthV(me: in out; theDepthV: Integer from Standard); |
97 | ---C++: inline |
98 | |
99 | GetDepthV(me) |
100 | returns Integer from Standard; |
101 | ---C++: inline |
102 | |
103 | |
104 | GetRangeU(me; theFirstU, theLastU: Real from Standard; |
105 | theNbSampleU: Integer from Standard) |
106 | returns Range from IntTools; |
107 | |
108 | GetRangeV(me; theFirstV, theLastV: Real from Standard; |
109 | theNbSampleV: Integer from Standard) |
110 | returns Range from IntTools; |
111 | |
112 | IsEqual(me; Other: SurfaceRangeSample from IntTools) |
113 | returns Boolean from Standard; |
114 | ---C++: inline |
115 | |
116 | GetRangeIndexUDeeper(me; theNbSampleU: Integer from Standard) |
117 | returns Integer from Standard; |
118 | ---C++: inline |
119 | |
120 | |
121 | GetRangeIndexVDeeper(me; theNbSampleV: Integer from Standard) |
122 | returns Integer from Standard; |
123 | ---C++: inline |
124 | |
125 | fields |
126 | myRangeU: CurveRangeSample from IntTools; |
127 | myRangeV: CurveRangeSample from IntTools; |
128 | |
129 | end SurfaceRangeSample from IntTools; |