0023024: Update headers of OCCT files
[occt.git] / src / IntImp / IntImp_PSurfaceTool.cdl
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
5 --
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.
10 --
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.
13 --
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.
20
21
22
23 deferred generic class PSurfaceTool from IntImp
24     (Surface as any)          
25                                    
26
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.
30
31 uses Pnt from gp,
32      Vec from gp
33  
34 is
35
36     UIntervalFirst(myclass ; S: Surface)
37            
38         ---Purpose: Returns the first U parameter of the surface.
39
40         returns Real from Standard;
41     
42     
43     VIntervalFirst(myclass ; S: Surface)
44            
45         ---Purpose: Returns the first V parameter of the surface.
46
47         returns Real from Standard;
48     
49     
50     UIntervalLast(myclass ; S: Surface)
51            
52         ---Purpose: Returns the last U parameter of the surface.
53
54         returns Real from Standard;
55     
56     
57     VIntervalLast(myclass ; S: Surface)
58            
59         ---Purpose: Returns the last V parameter of the surface.
60
61         returns Real from Standard;
62     
63     
64     Value (myclass ; S: Surface; U,V : Real from Standard)
65     
66         ---Purpose: Returns the point of parameter (U,V) on the surface.
67
68         returns Pnt from gp;
69
70
71     D1(myclass; S: Surface; U,V: Real from Standard; 
72                 P: out Pnt from gp; D1U,D1V: out Vec from gp);
73                 
74         ---Purpose: Returns the point of parameter (U,V) on the surface,
75         --          and the first derivatives in the directions u and v.
76
77     
78     UResolution(myclass; S : Surface; Tol3d: Real from Standard)
79     
80         ---Purpose: Returns the numerical resolution in the U direction,
81         --          for a given resolution in 3d space.
82
83         returns Real from Standard;
84
85
86     VResolution(myclass; S : Surface; Tol3d: Real from Standard)
87     
88         ---Purpose: Returns the numerical resolution in the V direction,
89         --          for a given resolution in 3d space.
90
91         returns Real from Standard;
92
93
94 end PSurfaceTool;