0022627: Change OCCT memory management defaults
[occt.git] / src / Adaptor3d / Adaptor3d_HSurfaceTool.cdl
CommitLineData
7fd59977 1-- File : Adaptor3d_HSurfaceTool.cdl
2-- Created : Fri Jul 2 16:59:47 1993
3-- Author : Laurent BUCHARD
4---Copyright : Matra Datavision 1993
5
6
7class HSurfaceTool from Adaptor3d
8
9uses
10
11 Shape from GeomAbs,
12 SurfaceType from GeomAbs,
13 Pln from gp,
14 Cone from gp,
15 Cylinder from gp,
16 Sphere from gp,
17 Torus from gp,
18 Pnt from gp,
19 Vec from gp,
20 Array1OfReal from TColStd,
21 BezierSurface from Geom,
22 BSplineSurface from Geom,
23 HSurface from Adaptor3d,
24 HCurve from Adaptor3d,
25 Ax1 from gp,
26 Dir from gp
27
28raises
29
30 NoSuchObject from Standard,
31 OutOfRange from Standard
32
33is
34
35 FirstUParameter(myclass; S: HSurface from Adaptor3d)
36 ---C++: inline
37 returns Real from Standard;
38
39 FirstVParameter(myclass; S: HSurface from Adaptor3d)
40 ---C++: inline
41 returns Real from Standard;
42
43 LastUParameter(myclass; S: HSurface from Adaptor3d)
44 ---C++: inline
45 returns Real from Standard;
46
47 LastVParameter(myclass; S: HSurface from Adaptor3d)
48 ---C++: inline
49 returns Real from Standard;
50
51
52
53 NbUIntervals(myclass; S: HSurface from Adaptor3d;
54 Sh : Shape from GeomAbs)
55 ---C++: inline
56 returns Integer from Standard;
57
58 NbVIntervals(myclass; S: HSurface from Adaptor3d;
59 Sh : Shape from GeomAbs)
60 ---C++: inline
61 returns Integer from Standard;
62
63
64
65 UIntervals(myclass; S : HSurface from Adaptor3d;
66 T : in out Array1OfReal from TColStd;
67 Sh : Shape from GeomAbs);
68 ---C++: inline
69
70 VIntervals(myclass; S : HSurface from Adaptor3d;
71 T : in out Array1OfReal from TColStd;
72 Sh : Shape from GeomAbs) ;
73 ---C++: inline
74
75
76 UTrim(myclass; S : HSurface from Adaptor3d;
77 First, Last, Tol : Real)
78 ---C++: inline
79 returns HSurface from Adaptor3d
80 raises
81 OutOfRange from Standard;
82 ---Purpose: If <First> >= <Last>
83
84 VTrim(myclass; S : HSurface from Adaptor3d;
85 First, Last, Tol : Real)
86 ---C++: inline
87 returns HSurface from Adaptor3d
88 raises
89 OutOfRange from Standard;
90 ---Purpose: If <First> >= <Last>
91
92
93 IsUClosed(myclass; S: HSurface from Adaptor3d)
94 ---C++: inline
95 returns Boolean from Standard;
96
97 IsVClosed(myclass; S: HSurface from Adaptor3d)
98 ---C++: inline
99 returns Boolean from Standard;
100
101
102 IsUPeriodic(myclass; S: HSurface from Adaptor3d)
103 ---C++: inline
104 returns Boolean from Standard;
105
106 UPeriod(myclass; S: HSurface from Adaptor3d)
107 ---C++: inline
108 returns Real from Standard;
109
110 IsVPeriodic(myclass; S: HSurface from Adaptor3d)
111 ---C++: inline
112 returns Boolean from Standard;
113
114 VPeriod(myclass; S: HSurface from Adaptor3d)
115 ---C++: inline
116 returns Real from Standard;
117
118
119
120 Value(myclass; S : HSurface from Adaptor3d;
121 u,v : Real from Standard)
122 ---C++: inline
123 returns Pnt from gp;
124
125 D0(myclass; S : HSurface from Adaptor3d;
126 u,v : Real from Standard;
127 P : out Pnt from gp);
128 ---C++: inline
129
130 D1(myclass; S : HSurface from Adaptor3d;
131 u,v : Real from Standard;
132 P : out Pnt from gp;
133 D1u,D1v: out Vec from gp);
134 ---C++: inline
135
136 D2(myclass; S : HSurface from Adaptor3d;
137 u,v : Real from Standard;
138 P : out Pnt from gp;
139 D1U,D1V,D2U,D2V,D2UV: out Vec from gp);
140 ---C++: inline
141
142 D3(myclass; S : HSurface from Adaptor3d;
143 u,v : Real from Standard;
144 P : out Pnt from gp;
145 D1U, D1V, D2U, D2V, D2UV, D3U, D3V, D3UUV, D3UVV: out Vec from gp);
146 ---C++: inline
147
148 DN(myclass; S : HSurface from Adaptor3d;
149 u,v : Real from Standard;
150 Nu,Nv : Integer from Standard)
151 ---C++: inline
152 returns Vec from gp;
153
154
155
156 UResolution(myclass; S:HSurface from Adaptor3d; R3d: Real from Standard)
157 ---C++: inline
158 returns Real from Standard;
159
160 VResolution(myclass; S:HSurface from Adaptor3d; R3d: Real from Standard)
161 ---C++: inline
162 returns Real from Standard;
163
164 GetType(myclass; S: HSurface from Adaptor3d)
165 ---C++: inline
166 returns SurfaceType from GeomAbs;
167
168
169 Plane(myclass; S: HSurface from Adaptor3d)
170 ---C++: inline
171 returns Pln from gp;
172
173 Cylinder(myclass; S : HSurface from Adaptor3d) returns Cylinder from gp
174 raises NoSuchObject from Standard;
175 ---C++: inline
176
177
178 Cone(myclass; S : HSurface from Adaptor3d) returns Cone from gp
179 raises NoSuchObject from Standard;
180 ---C++: inline
181
182 Torus(myclass; S : HSurface from Adaptor3d) returns Torus from gp
183 raises NoSuchObject from Standard;
184 ---C++: inline
185
186
187 Sphere(myclass; S : HSurface from Adaptor3d) returns Sphere from gp
188 raises NoSuchObject from Standard;
189 ---C++: inline
190
191 Bezier(myclass; S : HSurface from Adaptor3d) returns BezierSurface from Geom
192 raises NoSuchObject from Standard;
193 ---C++: inline
194
195 BSpline(myclass; S : HSurface from Adaptor3d) returns BSplineSurface from Geom
196 raises NoSuchObject from Standard;
197 ---C++: inline
198
199 AxeOfRevolution(myclass; S: HSurface from Adaptor3d) returns Ax1 from gp
200 raises NoSuchObject from Standard;
201 ---C++: inline
202
203 Direction(myclass; S: HSurface from Adaptor3d) returns Dir from gp
204 raises NoSuchObject from Standard;
205 ---C++: inline
206
207 BasisCurve(myclass; S:HSurface from Adaptor3d) returns HCurve from Adaptor3d
208 raises NoSuchObject from Standard;
209 ---C++: inline
210
211 BasisSurface(myclass; S:HSurface from Adaptor3d) returns HSurface from Adaptor3d
212 raises NoSuchObject from Standard;
213 ---C++: inline
214
215 OffsetValue(myclass; S:HSurface from Adaptor3d) returns Real from Standard
216 raises NoSuchObject from Standard;
217 ---C++: inline
218
219
220--------------------------------------------------------------------------------
221
222
223 NbSamplesU(myclass; S : HSurface from Adaptor3d) returns Integer from Standard;
224
225
226 NbSamplesV(myclass; S : HSurface from Adaptor3d) returns Integer from Standard;
227
228
229 NbSamplesU(myclass; S : HSurface from Adaptor3d; u1,u2: Real from Standard) returns Integer from Standard;
230
231
232 NbSamplesV(myclass; S : HSurface from Adaptor3d; v1,v2: Real from Standard) returns Integer from Standard;
233
234
235end HSurfaceTool;