summaryrefslogtreecommitdiff
path: root/src/IntImpParGen/IntImpParGen.cdl
blob: bf25768d27ccdae02180dd9c5736dc6cceccb8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
-- File:	IntImpParGen.cdl
-- Created:	Mon Mar  2 10:07:38 1992
-- Author:	Laurent BUCHARD
--		<lbr@phobox>
---Copyright:	 Matra Datavision 1992



package IntImpParGen


    ---Purpose: Gives a generic algorithm to intersect Implicit Curves
    --          and Bounded Parametric Curves. 
    --      
    --  Level: Internal
    --
    -- All the methods of all the classes are Internal.
    

uses Standard, TColStd, gp, math, IntRes2d, StdFail

is 

    deferred class ImpTool;
    ---Purpose: Template class for an implicit  curve.
    
    deferred generic class ParTool;
    ---Purpose: Template class for a tool on a parameterised curve.
    
    generic class ImpParTool;
    ---Purpose: Math function, instantiated inside the Intersector.

    generic class Intersector,MyImpParTool;
    
    
    ---Purpose: Tool used by the package IntCurve and IntImpParGen
    
    DetermineTransition(Pos1  :          Position    from IntRes2d;
    	                Tan1  : in out   Vec2d       from gp;
			Norm1 :          Vec2d       from gp;
			Trans1: in out   Transition  from IntRes2d;
			Pos2  :          Position    from IntRes2d;
    	                Tan2  : in out   Vec2d       from gp;
			Norm2 :          Vec2d       from gp;
			Trans2: in out   Transition  from IntRes2d;
                        Tol   :          Real        from Standard);
			
    DetermineTransition(Pos1  :          Position    from IntRes2d;
    	                Tan1  : in out   Vec2d       from gp;
			Trans1: in out   Transition  from IntRes2d;
			Pos2  :          Position    from IntRes2d;
    	                Tan2  : in out   Vec2d       from gp;
			Trans2: in out   Transition  from IntRes2d;
                        Tol   :          Real        from Standard)
    returns Boolean from Standard;
			
    DeterminePosition(  Pos1  : in out   Position    from IntRes2d; 
                        Dom1  :          Domain      from IntRes2d;
			P1    :          Pnt2d       from gp;
			Tol   :          Real        from Standard);
			
    NormalizeOnDomain(  Par1  : in out   Real        from Standard;
                        Dom1  :          Domain      from IntRes2d)
			
           returns Real from Standard;
						

end IntImpParGen;