CommitLineData
7fd59977 1-- File: BRepBlend_CurvPointRadInv.cdl
2-- Created: Wed Feb 12 14:27:39 1997
3-- Author: Laurent BOURESCHE
4-- <lbo@pomalox.paris1.matra-dtv.fr>
5---Copyright: Matra Datavision 1997
6
7class CurvPointRadInv from BRepBlend
8
9inherits CurvPointFuncInv from Blend
10
11 ---Purpose: This function is used to find a solution on a done
12 -- point of the curve 1 when using RstRstConsRad or
13 -- CSConstRad...
14 -- The vector <X> used in Value, Values and Derivatives
15 -- methods has to be the vector of the parametric
16 -- coordinates w, U where w is the parameter on the
17 -- guide line, U are the parametric coordinates of a
18 -- point on the partner curve 2.
19
20uses
21 Pnt from gp,
22 Vector from math,
23 Matrix from math,
24 HCurve from Adaptor3d
25
26
27is
28 Create(C1 : HCurve from Adaptor3d; C2 : HCurve from Adaptor3d)
29 returns CurvPointRadInv from BRepBlend;
30
31 Set(me: in out; Choix: Integer from Standard)
32 is static;
33
34 NbEquations(me)
35 ---Purpose: returns 2.
36 returns Integer from Standard;
37
38 Value(me: in out; X: Vector; F: out Vector)
39 ---Purpose: computes the values <F> of the Functions for the
40 -- variable <X>.
41 -- Returns True if the computation was done successfully,
42 -- False otherwise.
43 returns Boolean from Standard;
44
45 Derivatives(me: in out; X: Vector; D: out Matrix)
46 ---Purpose: returns the values <D> of the derivatives for the
47 -- variable <X>.
48 -- Returns True if the computation was done successfully,
49 -- False otherwise.
50 returns Boolean from Standard;
51
52 Values(me: in out; X: Vector; F: out Vector; D: out Matrix)
53 ---Purpose: returns the values <F> of the functions and the derivatives
54 -- <D> for the variable <X>.
55 -- Returns True if the computation was done successfully,
56 -- False otherwise.
57 returns Boolean from Standard;
58
59 Set(me: in out; P : Pnt from gp);
60 ---Purpose: Set the Point on which a solution has to be found.
61
62 GetTolerance(me; Tolerance: out Vector from math; Tol: Real from Standard);
63 ---Purpose: Returns in the vector Tolerance the parametric tolerance
64 -- for each of the 3 variables;
65 -- Tol is the tolerance used in 3d space.
66
67 GetBounds(me; InfBound,SupBound: out Vector from math);
68 ---Purpose: Returns in the vector InfBound the lowest values allowed
69 -- for each of the 3 variables.
70 -- Returns in the vector SupBound the greatest values allowed
71 -- for each of the 3 variables.
72
73 IsSolution(me: in out; Sol: Vector from math; Tol: Real from Standard)
74 ---Purpose: Returns Standard_True if Sol is a zero of the function.
75 -- Tol is the tolerance used in 3d space.
76 returns Boolean from Standard;
77
78fields
79
80 curv1 : HCurve from Adaptor3d;
81 curv2 : HCurve from Adaptor3d;
82 point : Pnt from gp;
83 choix : Integer from Standard;
84
85end CurvPointRadInv;