0024530: TKMesh - remove unused package IntPoly
[occt.git] / src / BRepBlend / BRepBlend_SurfCurvEvolRadInv.cdl
CommitLineData
b311480e 1-- Created on: 1997-07-29
2-- Created by: Jerome LEMONIER
3-- Copyright (c) 1997-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--
973c2be1 8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class SurfCurvEvolRadInv from BRepBlend
18
19inherits SurfCurvFuncInv from Blend
20
21 ---Purpose: Class used to compute a solution of the
22 -- surfRstConstRad problem on a done restriction of the
23 -- surface.
24 -- The vector <X> used in Value, Values and Derivatives
25 -- methods has to be the vector of the parametric
26 -- coordinates wguide, wcurv, wrst where wguide is the
27 -- parameter on the guide line, wcurv is the parameter on
28 -- the curve, wrst is the parameter on the restriction on
29 -- the surface.
30
31uses
32 HCurve2d from Adaptor2d,
33 HCurve from Adaptor3d,
34 HSurface from Adaptor3d,
35 Vector from math,
36 Matrix from math,
37 Function from Law
38
39
40is
41
42 Create(S : HSurface from Adaptor3d;
43 C : HCurve from Adaptor3d;
44 Cg : HCurve from Adaptor3d;
45 Evol : Function from Law)
46 returns SurfCurvEvolRadInv from BRepBlend;
47
48 Set(me: in out;Choix: Integer from Standard)
49 is static;
50
51 NbEquations(me)
52 ---Purpose: returns 3.
53 returns Integer from Standard;
54
55 Value(me: in out; X: Vector; F: out Vector)
56 ---Purpose: computes the values <F> of the Functions for the
57 -- variable <X>.
58 -- Returns True if the computation was done successfully,
59 -- False otherwise.
60 returns Boolean from Standard;
61
62 Derivatives(me: in out; X: Vector; D: out Matrix)
63 ---Purpose: returns the values <D> of the derivatives for the
64 -- variable <X>.
65 -- Returns True if the computation was done successfully,
66 -- False otherwise.
67 returns Boolean from Standard;
68
69 Values(me: in out; X: Vector; F: out Vector; D: out Matrix)
70 ---Purpose: returns the values <F> of the functions and the derivatives
71 -- <D> for the variable <X>.
72 -- Returns True if the computation was done successfully,
73 -- False otherwise.
74 returns Boolean from Standard;
75
76 Set(me: in out; Rst : HCurve2d from Adaptor2d);
77 ---Purpose: Set the restriction on which a solution has to be found.
78
79 GetTolerance(me; Tolerance: out Vector from math; Tol: Real from Standard);
80 ---Purpose: Returns in the vector Tolerance the parametric tolerance
81 -- for each of the 3 variables;
82 -- Tol is the tolerance used in 3d space.
83
84 GetBounds(me; InfBound,SupBound: out Vector from math);
85 ---Purpose: Returns in the vector InfBound the lowest values allowed
86 -- for each of the 3 variables.
87 -- Returns in the vector SupBound the greatest values allowed
88 -- for each of the 3 variables.
89
90 IsSolution(me: in out; Sol: Vector from math; Tol: Real from Standard)
91 ---Purpose: Returns Standard_True if Sol is a zero of the function.
92 -- Tol is the tolerance used in 3d space.
93 returns Boolean from Standard;
94
95fields
96
97 surf : HSurface from Adaptor3d;
98 curv : HCurve from Adaptor3d;
99 guide : HCurve from Adaptor3d;
100 rst : HCurve2d from Adaptor2d;
101 ray : Real from Standard;
102 choix : Integer from Standard;
103 tevol : Function from Law;
104 sg1 : Real from Standard;
105
106
107end SurfCurvEvolRadInv;
108
109