b311480e |
1 | -- Created on: 1993-07-02 |
2 | -- Created by: Laurent BUCHARD |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
973c2be1 |
8 | -- This library is free software; you can redistribute it and / or modify it |
9 | -- under the terms of the GNU Lesser General Public version 2.1 as published |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class HSurfaceTool from Adaptor3d |
18 | |
19 | uses |
20 | |
21 | Shape from GeomAbs, |
22 | SurfaceType from GeomAbs, |
23 | Pln from gp, |
24 | Cone from gp, |
25 | Cylinder from gp, |
26 | Sphere from gp, |
27 | Torus from gp, |
28 | Pnt from gp, |
29 | Vec from gp, |
30 | Array1OfReal from TColStd, |
31 | BezierSurface from Geom, |
32 | BSplineSurface from Geom, |
33 | HSurface from Adaptor3d, |
34 | HCurve from Adaptor3d, |
35 | Ax1 from gp, |
36 | Dir from gp |
37 | |
38 | raises |
39 | |
40 | NoSuchObject from Standard, |
41 | OutOfRange from Standard |
42 | |
43 | is |
44 | |
45 | FirstUParameter(myclass; S: HSurface from Adaptor3d) |
46 | ---C++: inline |
47 | returns Real from Standard; |
48 | |
49 | FirstVParameter(myclass; S: HSurface from Adaptor3d) |
50 | ---C++: inline |
51 | returns Real from Standard; |
52 | |
53 | LastUParameter(myclass; S: HSurface from Adaptor3d) |
54 | ---C++: inline |
55 | returns Real from Standard; |
56 | |
57 | LastVParameter(myclass; S: HSurface from Adaptor3d) |
58 | ---C++: inline |
59 | returns Real from Standard; |
60 | |
61 | |
62 | |
63 | NbUIntervals(myclass; S: HSurface from Adaptor3d; |
64 | Sh : Shape from GeomAbs) |
65 | ---C++: inline |
66 | returns Integer from Standard; |
67 | |
68 | NbVIntervals(myclass; S: HSurface from Adaptor3d; |
69 | Sh : Shape from GeomAbs) |
70 | ---C++: inline |
71 | returns Integer from Standard; |
72 | |
73 | |
74 | |
75 | UIntervals(myclass; S : HSurface from Adaptor3d; |
76 | T : in out Array1OfReal from TColStd; |
77 | Sh : Shape from GeomAbs); |
78 | ---C++: inline |
79 | |
80 | VIntervals(myclass; S : HSurface from Adaptor3d; |
81 | T : in out Array1OfReal from TColStd; |
82 | Sh : Shape from GeomAbs) ; |
83 | ---C++: inline |
84 | |
85 | |
86 | UTrim(myclass; S : HSurface from Adaptor3d; |
87 | First, Last, Tol : Real) |
88 | ---C++: inline |
89 | returns HSurface from Adaptor3d |
90 | raises |
91 | OutOfRange from Standard; |
92 | ---Purpose: If <First> >= <Last> |
93 | |
94 | VTrim(myclass; S : HSurface from Adaptor3d; |
95 | First, Last, Tol : Real) |
96 | ---C++: inline |
97 | returns HSurface from Adaptor3d |
98 | raises |
99 | OutOfRange from Standard; |
100 | ---Purpose: If <First> >= <Last> |
101 | |
102 | |
103 | IsUClosed(myclass; S: HSurface from Adaptor3d) |
104 | ---C++: inline |
105 | returns Boolean from Standard; |
106 | |
107 | IsVClosed(myclass; S: HSurface from Adaptor3d) |
108 | ---C++: inline |
109 | returns Boolean from Standard; |
110 | |
111 | |
112 | IsUPeriodic(myclass; S: HSurface from Adaptor3d) |
113 | ---C++: inline |
114 | returns Boolean from Standard; |
115 | |
116 | UPeriod(myclass; S: HSurface from Adaptor3d) |
117 | ---C++: inline |
118 | returns Real from Standard; |
119 | |
120 | IsVPeriodic(myclass; S: HSurface from Adaptor3d) |
121 | ---C++: inline |
122 | returns Boolean from Standard; |
123 | |
124 | VPeriod(myclass; S: HSurface from Adaptor3d) |
125 | ---C++: inline |
126 | returns Real from Standard; |
127 | |
128 | |
129 | |
130 | Value(myclass; S : HSurface from Adaptor3d; |
131 | u,v : Real from Standard) |
132 | ---C++: inline |
133 | returns Pnt from gp; |
134 | |
135 | D0(myclass; S : HSurface from Adaptor3d; |
136 | u,v : Real from Standard; |
137 | P : out Pnt from gp); |
138 | ---C++: inline |
139 | |
140 | D1(myclass; S : HSurface from Adaptor3d; |
141 | u,v : Real from Standard; |
142 | P : out Pnt from gp; |
143 | D1u,D1v: out Vec from gp); |
144 | ---C++: inline |
145 | |
146 | D2(myclass; S : HSurface from Adaptor3d; |
147 | u,v : Real from Standard; |
148 | P : out Pnt from gp; |
149 | D1U,D1V,D2U,D2V,D2UV: out Vec from gp); |
150 | ---C++: inline |
151 | |
152 | D3(myclass; S : HSurface from Adaptor3d; |
153 | u,v : Real from Standard; |
154 | P : out Pnt from gp; |
155 | D1U, D1V, D2U, D2V, D2UV, D3U, D3V, D3UUV, D3UVV: out Vec from gp); |
156 | ---C++: inline |
157 | |
158 | DN(myclass; S : HSurface from Adaptor3d; |
159 | u,v : Real from Standard; |
160 | Nu,Nv : Integer from Standard) |
161 | ---C++: inline |
162 | returns Vec from gp; |
163 | |
164 | |
165 | |
166 | UResolution(myclass; S:HSurface from Adaptor3d; R3d: Real from Standard) |
167 | ---C++: inline |
168 | returns Real from Standard; |
169 | |
170 | VResolution(myclass; S:HSurface from Adaptor3d; R3d: Real from Standard) |
171 | ---C++: inline |
172 | returns Real from Standard; |
173 | |
174 | GetType(myclass; S: HSurface from Adaptor3d) |
175 | ---C++: inline |
176 | returns SurfaceType from GeomAbs; |
177 | |
178 | |
179 | Plane(myclass; S: HSurface from Adaptor3d) |
180 | ---C++: inline |
181 | returns Pln from gp; |
182 | |
183 | Cylinder(myclass; S : HSurface from Adaptor3d) returns Cylinder from gp |
184 | raises NoSuchObject from Standard; |
185 | ---C++: inline |
186 | |
187 | |
188 | Cone(myclass; S : HSurface from Adaptor3d) returns Cone from gp |
189 | raises NoSuchObject from Standard; |
190 | ---C++: inline |
191 | |
192 | Torus(myclass; S : HSurface from Adaptor3d) returns Torus from gp |
193 | raises NoSuchObject from Standard; |
194 | ---C++: inline |
195 | |
196 | |
197 | Sphere(myclass; S : HSurface from Adaptor3d) returns Sphere from gp |
198 | raises NoSuchObject from Standard; |
199 | ---C++: inline |
200 | |
201 | Bezier(myclass; S : HSurface from Adaptor3d) returns BezierSurface from Geom |
202 | raises NoSuchObject from Standard; |
203 | ---C++: inline |
204 | |
205 | BSpline(myclass; S : HSurface from Adaptor3d) returns BSplineSurface from Geom |
206 | raises NoSuchObject from Standard; |
207 | ---C++: inline |
208 | |
209 | AxeOfRevolution(myclass; S: HSurface from Adaptor3d) returns Ax1 from gp |
210 | raises NoSuchObject from Standard; |
211 | ---C++: inline |
212 | |
213 | Direction(myclass; S: HSurface from Adaptor3d) returns Dir from gp |
214 | raises NoSuchObject from Standard; |
215 | ---C++: inline |
216 | |
217 | BasisCurve(myclass; S:HSurface from Adaptor3d) returns HCurve from Adaptor3d |
218 | raises NoSuchObject from Standard; |
219 | ---C++: inline |
220 | |
221 | BasisSurface(myclass; S:HSurface from Adaptor3d) returns HSurface from Adaptor3d |
222 | raises NoSuchObject from Standard; |
223 | ---C++: inline |
224 | |
225 | OffsetValue(myclass; S:HSurface from Adaptor3d) returns Real from Standard |
226 | raises NoSuchObject from Standard; |
227 | ---C++: inline |
228 | |
229 | |
230 | -------------------------------------------------------------------------------- |
231 | |
232 | |
233 | NbSamplesU(myclass; S : HSurface from Adaptor3d) returns Integer from Standard; |
234 | |
235 | |
236 | NbSamplesV(myclass; S : HSurface from Adaptor3d) returns Integer from Standard; |
237 | |
238 | |
239 | NbSamplesU(myclass; S : HSurface from Adaptor3d; u1,u2: Real from Standard) returns Integer from Standard; |
240 | |
241 | |
242 | NbSamplesV(myclass; S : HSurface from Adaptor3d; v1,v2: Real from Standard) returns Integer from Standard; |
243 | |
244 | |
245 | end HSurfaceTool; |