b311480e |
1 | -- Created on: 1994-02-24 |
2 | -- Created by: Laurent BOURESCHE |
3 | -- Copyright (c) 1994-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 SurfaceTool from BRepLProp |
18 | |
19 | uses Pnt from gp, |
20 | Vec from gp, |
21 | Surface from BRepAdaptor |
22 | |
23 | is |
24 | |
25 | Value(myclass; S : Surface; U, V : Real; P : out Pnt); |
26 | ---Purpose: Computes the point <P> of parameter <U> and <V> on the |
27 | -- Surface <S>. |
28 | |
29 | D1 (myclass; S : Surface; U, V : Real; P : out Pnt; D1U, D1V : out Vec); |
30 | ---Purpose: Computes the point <P> and first derivative <D1*> of |
31 | -- parameter <U> and <V> on the Surface <S>. |
32 | |
33 | D2 (myclass; S : Surface; U, V : Real; |
34 | P : out Pnt; D1U, D1V, D2U, D2V, DUV : out Vec); |
35 | ---Purpose: Computes the point <P>, the first derivative <D1*> and second |
36 | -- derivative <D2*> of parameter <U> and <V> on the Surface <S>. |
37 | |
38 | DN (myclass; S : Surface; U, V : Real; IU, IV : Integer) |
39 | returns Vec; |
40 | |
41 | Continuity(myclass; S : Surface) returns Integer; |
42 | ---Purpose: returns the order of continuity of the Surface <S>. |
43 | -- returns 1 : first derivative only is computable |
44 | -- returns 2 : first and second derivative only are computable. |
45 | |
46 | Bounds(myclass; S : Surface; U1, V1, U2, V2 : out Real); |
47 | ---Purpose: returns the bounds of the Surface. |
48 | |
49 | end SurfaceTool; |
50 | |
51 | |