CommitLineData
2-- Created: Tue Jul 29 12:02:11 1997
3-- Author: Jerome LEMONIER
4-- <jlr@sgi64>
6
8
9inherits SurfPointFuncInv from Blend
10
11 ---Purpose: This function is used to find a solution on a done
12 -- point of the curve when using SurfRstConsRad or
14 -- The vector <X> used in Value, Values and Derivatives
15 -- methods has to be the vector of the parametric
16 -- coordinates w, U, V where w is the parameter on the
17 -- guide line, U,V are the parametric coordinates of a
18 -- point on the partner surface.
19
20uses
21 Pnt from gp,
22 Vector from math,
23 Matrix from math,
26 Function from Law
27
28is
30 Evol : Function from Law)
32
33 Set(me: in out; Choix: Integer from Standard)
34 is static;
35
36 NbEquations(me)
37 ---Purpose: returns 3.
38 returns Integer from Standard;
39
40 Value(me: in out; X: Vector; F: out Vector)
41 ---Purpose: computes the values <F> of the Functions for the
42 -- variable <X>.
43 -- Returns True if the computation was done successfully,
44 -- False otherwise.
45 returns Boolean from Standard;
46
47 Derivatives(me: in out; X: Vector; D: out Matrix)
48 ---Purpose: returns the values <D> of the derivatives for the
49 -- variable <X>.
50 -- Returns True if the computation was done successfully,
51 -- False otherwise.
52 returns Boolean from Standard;
53
54 Values(me: in out; X: Vector; F: out Vector; D: out Matrix)
55 ---Purpose: returns the values <F> of the functions and the derivatives
56 -- <D> for the variable <X>.
57 -- Returns True if the computation was done successfully,
58 -- False otherwise.
59 returns Boolean from Standard;
60
61 Set(me: in out; P : Pnt from gp);
62 ---Purpose: Set the Point on which a solution has to be found.
63
64 GetTolerance(me; Tolerance: out Vector from math; Tol: Real from Standard);
65 ---Purpose: Returns in the vector Tolerance the parametric tolerance
66 -- for each of the 3 variables;
67 -- Tol is the tolerance used in 3d space.
68
69 GetBounds(me; InfBound,SupBound: out Vector from math);
70 ---Purpose: Returns in the vector InfBound the lowest values allowed
71 -- for each of the 3 variables.
72 -- Returns in the vector SupBound the greatest values allowed
73 -- for each of the 3 variables.
74
75 IsSolution(me: in out; Sol: Vector from math; Tol: Real from Standard)
76 ---Purpose: Returns Standard_True if Sol is a zero of the function.
77 -- Tol is the tolerance used in 3d space.
78 returns Boolean from Standard;
79
80fields
81
82 surf : HSurface from Adaptor3d;
83 curv : HCurve from Adaptor3d;
84 point : Pnt from gp;
85 ray : Real from Standard;
86 choix : Integer from Standard;
87 tevol : Function from Law;
88 sg1 : Real from Standard;
89
90