0024428: Implementation of LGPL license
[occt.git] / src / AppCont / AppCont_Function2d.cdl
1 -- Created on: 1993-09-01
2 -- Created by: Laurent PAINNOT
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 deferred class Function2d from AppCont
18
19     ---Purpose: deferred class describing a continous 2d function f(u)
20
21
22 uses Pnt2d from gp,
23      Vec2d from gp
24
25 is
26
27     Delete(me:out) is virtual;
28     ---C++: alias "Standard_EXPORT virtual ~AppCont_Function2d(){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 Pnt2d
40         ---Purpose: returns the point at parameter <U>.
41     is deferred;
42
43     D1(me; U: Real; P: in out Pnt2d; V: in out Vec2d) returns Boolean
44         ---Purpose: returns the point and the derivative values at
45         --          the parameter <U>.
46     is deferred;
47     
48     
49 end Function2d;