0024773: Convertation of the generic classes to the non-generic. Part 7
[occt.git] / src / GccIter / GccIter_FunctionTanCuPnt.cdl
CommitLineData
b311480e 1-- Created on: 1992-02-20
2-- Created by: Remy GILET
3-- Copyright (c) 1992-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 FunctionTanCuPnt from GccIter (
18 TheCurve as any ;
19 TheCurveTool as any )
20
21inherits FunctionWithDerivative from math
22
23 ---Purpose: This abstract class describes a Function of 1 Variable
24 -- used to find a line tangent to a curve and passing
25 -- through a point.
26
27uses Pnt2d from gp
28
29is
30
31Create (C : TheCurve ;
32 Point : Pnt2d from gp ) returns FunctionTanCuPnt from GccIter;
33
34Value (me : in out ;
35 X : Real ;
36 F : out Real ) returns Boolean;
37 ---Purpose: Computes the value of the function F for the variable X.
38 -- It returns True if the computation is successfully done,
39 -- False otherwise.
40
41Derivative (me : in out ;
42 X : Real ;
43 Deriv : out Real ) returns Boolean;
44 ---Purpose: Computes the derivative of the function F for the variable X.
45 -- It returns True if the computation is successfully done,
46 -- False otherwise.
47
48Values (me : in out ;
49 X : Real ;
50 F : out Real ;
51 Deriv : out Real ) returns Boolean;
52 ---Purpose: Computes the value and the derivative of the function F
53 -- for the variable X.
54 -- It returns True if the computation is successfully done,
55 -- False otherwise.
56
57fields
58
59TheCurv : TheCurve;
60ThePoint : Pnt2d from gp;
61
62end FunctionTanCuPnt;