0024774: Convertation of the generic classes to the non-generic. Part 8
[occt.git] / src / Contap / Contap_SurfProps.cdl
CommitLineData
b311480e 1-- Created on: 1995-02-24
2-- Created by: Jacques GOUSSARD
3-- Copyright (c) 1995-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
17generic class SurfProps from Contap
18 (TheSurface as any;
89f18cb9 19 TheSurfaceTool as any)
7fd59977 20
21 ---Purpose: Internal tool used to compute the normal and its
22 -- derivatives.
23
24uses Pnt from gp,
25 Vec from gp
26
27is
28
29 Normale(myclass; S: TheSurface; U,V: Real from Standard;
30 P: out Pnt from gp;
31 N: out Vec from gp);
32
33 ---Purpose: Computes the point <P>, and normal vector <N> on
34 -- <S> at parameters U,V.
35
36
37
38 DerivAndNorm(myclass; S: TheSurface; U,V: Real from Standard;
39 P : out Pnt from gp;
40 d1u,d1v: out Vec from gp;
41 N : out Vec from gp);
42
43 ---Purpose: Computes the point <P>, and normal vector <N> on
44 -- <S> at parameters U,V.
45
46
47
48 NormAndDn(myclass; S: TheSurface; U,V: Real from Standard;
49 P : out Pnt from gp;
50 N,Dnu,Dnv: out Vec from gp);
51
52 ---Purpose: Computes the point <P>, normal vector <N>, and its
53 -- derivatives <Dnu> and <Dnv> on <S> at parameters U,V.
54
55
56end SurfProps;