b311480e |
1 | -- Created on: 1991-05-13 |
2 | -- Created by: Laurent PAINNOT |
3 | -- Copyright (c) 1991-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 | |
17 | generic class FunctionTanCuCuCu from GccIter( |
18 | TheCurve as any; |
19 | TheCurveTool as any) -- as CurvePGTool from GccInt (TheCurve) |
20 | |
21 | inherits FunctionSetWithDerivatives from math |
22 | |
23 | ---Purpose: This abstract class describes a set on N Functions of |
24 | -- M independant variables. |
25 | |
26 | uses Vector from math, |
27 | Matrix from math, |
28 | Circ2d from gp, |
29 | Lin2d from gp, |
30 | Pnt2d from gp, |
31 | Vec2d from gp, |
32 | Type1 from GccIter |
33 | |
34 | raises ConstructionError |
35 | |
36 | is |
37 | |
38 | Create (C1 : TheCurve ; |
39 | C2 : TheCurve ; |
40 | C3 : TheCurve ) returns FunctionTanCuCuCu from GccIter; |
41 | |
42 | Create (C1 : Circ2d from gp ; |
43 | C2 : TheCurve ; |
44 | C3 : TheCurve ) returns FunctionTanCuCuCu from GccIter; |
45 | |
46 | Create (C1 : Circ2d from gp ; |
47 | C2 : Circ2d from gp ; |
48 | C3 : TheCurve ) returns FunctionTanCuCuCu from GccIter; |
49 | |
50 | Create (C1 : Circ2d from gp ; |
51 | L2 : Lin2d from gp ; |
52 | C3 : TheCurve ) returns FunctionTanCuCuCu from GccIter; |
53 | |
54 | Create (L1 : Lin2d from gp ; |
55 | L2 : Lin2d from gp ; |
56 | C3 : TheCurve ) returns FunctionTanCuCuCu from GccIter; |
57 | |
58 | Create (L1 : Lin2d from gp ; |
59 | C2 : TheCurve ; |
60 | C3 : TheCurve ) returns FunctionTanCuCuCu from GccIter; |
61 | |
62 | Create (C1 : Circ2d from gp ; |
63 | C2 : TheCurve ; |
64 | P3 : Pnt2d from gp ) returns FunctionTanCuCuCu from GccIter; |
65 | |
66 | Create (L1 : Lin2d from gp ; |
67 | C2 : TheCurve ; |
68 | P3 : Pnt2d from gp ) returns FunctionTanCuCuCu from GccIter; |
69 | |
70 | Create (C1 : TheCurve ; |
71 | P2 : Pnt2d from gp ; |
72 | P3 : Pnt2d from gp ) returns FunctionTanCuCuCu from GccIter; |
73 | |
74 | InitDerivative(me : in out ; |
75 | X : Vector from math ; |
76 | Point1,Point2,Point3 : out Pnt2d from gp ; |
77 | Tan1,Tan2,Tan3,D21,D22,D23 : out Vec2d from gp ) |
78 | raises ConstructionError |
79 | is static; |
80 | |
81 | NbVariables(me) returns Integer; |
82 | ---Purpose: Returns the number of variables of the function. |
83 | |
84 | NbEquations(me) returns Integer; |
85 | ---Purpose: Returns the number of equations of the function. |
86 | |
87 | Value(me : in out ; |
88 | X : Vector from math; |
89 | F : out Vector from math) returns Boolean; |
90 | ---Purpose: Computes the values of the Functions for the variable <X>. |
91 | |
92 | Derivatives(me : in out ; |
93 | X : Vector from math; |
94 | D : out Matrix from math) returns Boolean; |
95 | ---Purpose: Returns the values of the derivatives for the variable <X>. |
96 | |
97 | Values(me : in out ; |
98 | X : Vector from math; |
99 | F : out Vector from math; |
100 | D : out Matrix from math) returns Boolean; |
101 | ---Purpose: Returns the values of the functions and the derivatives |
102 | -- for the variable <X>. |
103 | |
104 | fields |
105 | |
106 | Curv1 : TheCurve ; |
107 | Curv2 : TheCurve ; |
108 | Curv3 : TheCurve ; |
109 | Circ1 : Circ2d from gp ; |
110 | Circ2 : Circ2d from gp ; |
111 | Lin1 : Lin2d from gp ; |
112 | Lin2 : Lin2d from gp ; |
113 | TheType : Type1 from GccIter; |
114 | |
115 | end FunctionTanCuCuCu; |
116 | |