0024672: Visualization - AIS_TexturedShape does not activate back face culling aspect
[occt.git] / src / IntImp / IntImp_PSurfaceTool.cdl
CommitLineData
b311480e 1-- Created on: 1992-03-06
2-- Created by: Isabelle GRIGNON
3-- Copyright (c) 1992-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--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 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
17deferred generic class PSurfaceTool from IntImp
18 (Surface as any)
19
20
21 ---Purpose: Template class for a tool on a bi-parametrised surface.
22 -- It is possible to implement this tool with an
23 -- instantiation of the SurfaceTool from Adaptor3d.
24
25uses Pnt from gp,
26 Vec from gp
27
28is
29
30 UIntervalFirst(myclass ; S: Surface)
31
32 ---Purpose: Returns the first U parameter of the surface.
33
34 returns Real from Standard;
35
36
37 VIntervalFirst(myclass ; S: Surface)
38
39 ---Purpose: Returns the first V parameter of the surface.
40
41 returns Real from Standard;
42
43
44 UIntervalLast(myclass ; S: Surface)
45
46 ---Purpose: Returns the last U parameter of the surface.
47
48 returns Real from Standard;
49
50
51 VIntervalLast(myclass ; S: Surface)
52
53 ---Purpose: Returns the last V parameter of the surface.
54
55 returns Real from Standard;
56
57
58 Value (myclass ; S: Surface; U,V : Real from Standard)
59
60 ---Purpose: Returns the point of parameter (U,V) on the surface.
61
62 returns Pnt from gp;
63
64
65 D1(myclass; S: Surface; U,V: Real from Standard;
66 P: out Pnt from gp; D1U,D1V: out Vec from gp);
67
68 ---Purpose: Returns the point of parameter (U,V) on the surface,
69 -- and the first derivatives in the directions u and v.
70
71
72 UResolution(myclass; S : Surface; Tol3d: Real from Standard)
73
74 ---Purpose: Returns the numerical resolution in the U direction,
75 -- for a given resolution in 3d space.
76
77 returns Real from Standard;
78
79
80 VResolution(myclass; S : Surface; Tol3d: Real from Standard)
81
82 ---Purpose: Returns the numerical resolution in the V direction,
83 -- for a given resolution in 3d space.
84
85 returns Real from Standard;
86
87
88end PSurfaceTool;