0024778: Convertation of the generic classes to the non-generic. Part 9
[occt.git] / src / Geom2dGcc / Geom2dGcc_FunctionTanCirCu.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
54e37688 17private class FunctionTanCirCu from Geom2dGcc inherits FunctionWithDerivative from math
7fd59977 18
7fd59977 19 ---Purpose: This abstract class describes a Function of 1 Variable
20 -- used to find a line tangent to a curve and a circle.
21
54e37688 22uses
23 Circ2d from gp,
24 Curve from Geom2dAdaptor,
25 CurveTool from Geom2dGcc
7fd59977 26
27is
28
29Create (Circ : Circ2d from gp ;
54e37688 30 Curv : Curve from Geom2dAdaptor ) returns FunctionTanCirCu from Geom2dGcc;
7fd59977 31
32Value (me : in out ;
33 X : Real ;
34 F : out Real ) returns Boolean;
35 ---Purpose: Computes the value of the function F for the variable X.
36 -- It returns True if the computation is successfully done,
37 -- False otherwise.
38
39Derivative (me : in out ;
40 X : Real ;
41 Deriv : out Real ) returns Boolean;
42 ---Purpose: Computes the derivative of the function F for the variable X.
43 -- It returns True if the computation is successfully done,
44 -- False otherwise.
45
46Values (me : in out ;
47 X : Real ;
48 F : out Real ;
49 Deriv : out Real ) returns Boolean;
50 ---Purpose: Computes the value and the derivative of the function F
51 -- for the variable X.
52 -- It returns True if the computation is successfully done,
53 -- False otherwise.
54
55fields
56
57TheCirc : Circ2d from gp;
54e37688 58Curve : Curve from Geom2dAdaptor;
7fd59977 59-- Modified by Sergey KHROMOV - Thu Apr 5 09:50:18 2001 Begin
60myWeight : Real;
61-- Modified by Sergey KHROMOV - Thu Apr 5 09:50:19 2001 End
62
63end FunctionTanCirCu;