1 -- Created on: 1991-05-13
2 -- Created by: Laurent PAINNOT
3 -- Copyright (c) 1991-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 private class FunctionTanCuCuCu from Geom2dGcc inherits FunctionSetWithDerivatives from math
19 ---Purpose: This abstract class describes a set on N Functions of
20 -- M independant variables.
22 uses Vector from math,
29 Curve from Geom2dAdaptor,
30 CurveTool from Geom2dGcc
32 raises ConstructionError
36 Create (C1 : Curve from Geom2dAdaptor ;
37 C2 : Curve from Geom2dAdaptor ;
38 C3 : Curve from Geom2dAdaptor ) returns FunctionTanCuCuCu from Geom2dGcc;
40 Create (C1 : Circ2d from gp ;
41 C2 : Curve from Geom2dAdaptor ;
42 C3 : Curve from Geom2dAdaptor ) returns FunctionTanCuCuCu from Geom2dGcc;
44 Create (C1 : Circ2d from gp ;
46 C3 : Curve from Geom2dAdaptor ) returns FunctionTanCuCuCu from Geom2dGcc;
48 Create (C1 : Circ2d from gp ;
50 C3 : Curve from Geom2dAdaptor ) returns FunctionTanCuCuCu from Geom2dGcc;
52 Create (L1 : Lin2d from gp ;
54 C3 : Curve from Geom2dAdaptor ) returns FunctionTanCuCuCu from Geom2dGcc;
56 Create (L1 : Lin2d from gp ;
57 C2 : Curve from Geom2dAdaptor ;
58 C3 : Curve from Geom2dAdaptor ) returns FunctionTanCuCuCu from Geom2dGcc;
60 Create (C1 : Circ2d from gp ;
61 C2 : Curve from Geom2dAdaptor ;
62 P3 : Pnt2d from gp ) returns FunctionTanCuCuCu from Geom2dGcc;
64 Create (L1 : Lin2d from gp ;
65 C2 : Curve from Geom2dAdaptor ;
66 P3 : Pnt2d from gp ) returns FunctionTanCuCuCu from Geom2dGcc;
68 Create (C1 : Curve from Geom2dAdaptor ;
70 P3 : Pnt2d from gp ) returns FunctionTanCuCuCu from Geom2dGcc;
72 InitDerivative(me : in out ;
73 X : Vector from math ;
74 Point1,Point2,Point3 : out Pnt2d from gp ;
75 Tan1,Tan2,Tan3,D21,D22,D23 : out Vec2d from gp )
76 raises ConstructionError
79 NbVariables(me) returns Integer;
80 ---Purpose: Returns the number of variables of the function.
82 NbEquations(me) returns Integer;
83 ---Purpose: Returns the number of equations of the function.
87 F : out Vector from math) returns Boolean;
88 ---Purpose: Computes the values of the Functions for the variable <X>.
90 Derivatives(me : in out ;
92 D : out Matrix from math) returns Boolean;
93 ---Purpose: Returns the values of the derivatives for the variable <X>.
97 F : out Vector from math;
98 D : out Matrix from math) returns Boolean;
99 ---Purpose: Returns the values of the functions and the derivatives
100 -- for the variable <X>.
104 Curv1 : Curve from Geom2dAdaptor ;
105 Curv2 : Curve from Geom2dAdaptor ;
106 Curv3 : Curve from Geom2dAdaptor ;
107 Circ1 : Circ2d from gp ;
108 Circ2 : Circ2d from gp ;
109 Lin1 : Lin2d from gp ;
110 Lin2 : Lin2d from gp ;
111 TheType : Type1 from Geom2dGcc;
113 end FunctionTanCuCuCu;