b311480e |
1 | -- Created on: 1993-09-01 |
2 | -- Created by: Laurent PAINNOT |
3 | -- Copyright (c) 1993-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 | deferred class Function from AppCont |
18 | |
19 | ---Purpose: deferred class describing a continous 3d function f(u) |
20 | |
21 | |
22 | uses Pnt from gp, |
23 | Vec from gp |
24 | |
25 | is |
26 | |
27 | Delete(me:out) is virtual; |
28 | ---C++: alias "Standard_EXPORT virtual ~AppCont_Function(){Delete() ; }" |
29 | |
30 | |
31 | FirstParameter(me) returns Real |
32 | ---Purpose: returns the first parameter of the function. |
33 | is deferred; |
34 | |
35 | LastParameter(me) returns Real |
36 | ---Purpose: returns the last parameter of the function. |
37 | is deferred; |
38 | |
39 | Value(me; U: Real) returns Pnt |
40 | ---Purpose: returns the point at parameter <U>. |
41 | is deferred; |
42 | |
43 | D1(me; U: Real; P: in out Pnt; V: in out Vec) returns Boolean |
44 | ---Purpose: returns the point and the derivative values at |
45 | -- the parameter <U>. |
46 | is deferred; |
47 | |
48 | |
49 | end Function; |