1 -- File: ImpParTool.cdl
2 -- Created: Mon Mar 30 18:19:14 1992
3 -- Author: Laurent BUCHARD
5 ---Copyright: Matra Datavision 1992
8 generic class ImpParTool from IntImpParGen (
9 ImpTool as any; -- as ImpTool from IntImpParGen
11 ParTool as any) -- as ParTool from IntImpParGen(ParCurve)
13 inherits FunctionWithDerivative from math
15 ---Purpose: Implements the function used by FunctionAllRoots
16 -- to find the areas where the distance between the
17 -- implicit and the parametric curves is less than a
26 Create(IT: ImpTool; PC: ParCurve)
28 ---Purpose: Constructor of the class.
30 returns ImpParTool from IntImpParGen;
33 Value(me: in out; Param: Real from Standard; F: out Real from Standard)
35 ---Purpose: Computes the value of the signed distance between
36 -- the implicit curve and the point at parameter Param
37 -- on the parametrised curve.
39 returns Boolean from Standard
43 Derivative(me: in out; Param: Real from Standard;
44 D: out Real from Standard)
46 ---Purpose: Computes the derivative of the previous function at
49 returns Boolean from Standard
53 Values(me: in out; Param: Real from Standard; F,D: out Real from Standard)
55 ---Purpose: Computes the value and the derivative of the function.
57 returns Boolean from Standard
62 TheParCurve : Address from Standard;