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