1 -- Created on: 1992-03-06
2 -- Created by: Isabelle GRIGNON
3 -- Copyright (c) 1992-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
23 deferred generic class PSurfaceTool from IntImp
27 ---Purpose: Template class for a tool on a bi-parametrised surface.
28 -- It is possible to implement this tool with an
29 -- instantiation of the SurfaceTool from Adaptor3d.
36 UIntervalFirst(myclass ; S: Surface)
38 ---Purpose: Returns the first U parameter of the surface.
40 returns Real from Standard;
43 VIntervalFirst(myclass ; S: Surface)
45 ---Purpose: Returns the first V parameter of the surface.
47 returns Real from Standard;
50 UIntervalLast(myclass ; S: Surface)
52 ---Purpose: Returns the last U parameter of the surface.
54 returns Real from Standard;
57 VIntervalLast(myclass ; S: Surface)
59 ---Purpose: Returns the last V parameter of the surface.
61 returns Real from Standard;
64 Value (myclass ; S: Surface; U,V : Real from Standard)
66 ---Purpose: Returns the point of parameter (U,V) on the surface.
71 D1(myclass; S: Surface; U,V: Real from Standard;
72 P: out Pnt from gp; D1U,D1V: out Vec from gp);
74 ---Purpose: Returns the point of parameter (U,V) on the surface,
75 -- and the first derivatives in the directions u and v.
78 UResolution(myclass; S : Surface; Tol3d: Real from Standard)
80 ---Purpose: Returns the numerical resolution in the U direction,
81 -- for a given resolution in 3d space.
83 returns Real from Standard;
86 VResolution(myclass; S : Surface; Tol3d: Real from Standard)
88 ---Purpose: Returns the numerical resolution in the V direction,
89 -- for a given resolution in 3d space.
91 returns Real from Standard;