0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / GeomFill / GeomFill_FunctionDraft.cdl
CommitLineData
b311480e 1-- Created on: 1998-04-27
2-- Created by: Stephanie HUMEAU
3-- Copyright (c) 1998-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
17private class FunctionDraft from GeomFill
18inherits FunctionSetWithDerivatives from math
19
20uses
21
22 Vector from math,
23 Matrix from math,
24 HSurface from Adaptor3d,
25 HCurve from Adaptor3d,
26 Vec from gp,
27 Tensor from GeomFill
28
29is
30
31 Create(S : HSurface from Adaptor3d ; C : HCurve from Adaptor3d)
32 returns FunctionDraft from GeomFill ;
33
34 NbVariables(me)
35 ---Purpose: returns the number of variables of the function.
36
37 returns Integer is redefined;
38
39
40 NbEquations(me)
41 ---Purpose: returns the number of equations of the function.
42
43 returns Integer is redefined;
44
45
46 Value(me: in out; X: Vector; F: out Vector)
47 ---Purpose: computes the values <F> of the Functions for the
48 -- variable <X>.
49 -- Returns True if the computation was done successfully,
50 -- False otherwise.
51
52 returns Boolean is redefined;
53
54
55 Derivatives(me: in out; X: Vector; D: out Matrix)
56 ---Purpose: returns the values <D> of the derivatives for the
57 -- variable <X>.
58 -- Returns True if the computation was done successfully,
59 -- False otherwise.
60
61 returns Boolean is redefined;
62
63
64 Values(me: in out; X: Vector; F: out Vector; D: out Matrix)
65 ---Purpose: returns the values <F> of the functions and the derivatives
66 -- <D> for the variable <X>.
67 -- Returns True if the computation was done successfully,
68 -- False otherwise.
69
70 returns Boolean is redefined;
71
72
73 DerivT(me: in out;
74 C : HCurve from Adaptor3d;
75 Param : Real from Standard;
76 W : Real from Standard;
77 dN : Vec from gp;
78 teta : Real;
79 F: out Vector)
80 ---Purpose: returns the values <F> of the T derivatives for
81 -- the parameter Param .
82 returns Boolean is static;
83
84
85 Deriv2T(me: in out;
86 C : HCurve from Adaptor3d;
87 Param : Real from Standard;
88 W : Real from Standard;
89 d2N : Vec from gp;
90 teta : Real;
91 F: out Vector)
92 ---Purpose: returns the values <F> of the T2 derivatives for
93 -- the parameter Param .
94 returns Boolean is static;
95
96
97 DerivTX(me: in out;
98 dN : Vec from gp;
99 teta : Real;
100 D: out Matrix)
101 ---Purpose: returns the values <D> of the TX derivatives for
102 -- the parameter Param .
103 returns Boolean is static;
104
105
106 Deriv2X(me: in out;
107 X : Vector from math;
108 T: out Tensor)
109 ---Purpose: returns the values <T> of the X2 derivatives for
110 -- the parameter Param .
111 returns Boolean is static;
112
113
114
115fields
116 TheCurve : HCurve from Adaptor3d;
117 TheSurface : HSurface from Adaptor3d;
118
119end FunctionDraft;