b311480e |
1 | -- Created on: 2002-08-02 |
2 | -- Created by: Alexander KARTOMIN (akm) |
973c2be1 |
3 | -- Copyright (c) 2002-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | -- NB: This originates from BRepLProp being abstracted of BRep. |
7fd59977 |
17 | |
18 | class SurfaceTool from LProp3d |
19 | |
20 | uses Pnt from gp, |
21 | Vec from gp, |
22 | HSurface from Adaptor3d |
23 | |
24 | is |
25 | |
26 | Value(myclass; S : HSurface; U, V : Real; P : out Pnt); |
27 | ---Purpose: Computes the point <P> of parameter <U> and <V> on the |
28 | -- HSurface <S>. |
29 | |
30 | D1 (myclass; S : HSurface; U, V : Real; P : out Pnt; D1U, D1V : out Vec); |
31 | ---Purpose: Computes the point <P> and first derivative <D1*> of |
32 | -- parameter <U> and <V> on the HSurface <S>. |
33 | |
34 | D2 (myclass; S : HSurface; U, V : Real; |
35 | P : out Pnt; D1U, D1V, D2U, D2V, DUV : out Vec); |
36 | ---Purpose: Computes the point <P>, the first derivative <D1*> and second |
37 | -- derivative <D2*> of parameter <U> and <V> on the HSurface <S>. |
38 | |
39 | DN (myclass; S : HSurface; U, V : Real; IU, IV : Integer) |
40 | returns Vec; |
41 | |
42 | Continuity(myclass; S : HSurface) returns Integer; |
43 | ---Purpose: returns the order of continuity of the HSurface <S>. |
44 | -- returns 1 : first derivative only is computable |
45 | -- returns 2 : first and second derivative only are computable. |
46 | |
47 | Bounds(myclass; S : HSurface; U1, V1, U2, V2 : out Real); |
48 | ---Purpose: returns the bounds of the HSurface. |
49 | |
50 | end SurfaceTool; |
51 | |
52 | |