0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / ApproxInt / ApproxInt_PrmPrmSvSurfaces.cdl
CommitLineData
b311480e 1-- Created on: 1993-03-17
2-- Created by: Laurent BUCHARD
3-- Copyright (c) 1993-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--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 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
17generic class PrmPrmSvSurfaces from ApproxInt (
18 ThePSurface as any;
19 ThePSurfaceTool as any;
20 TheLine as Transient)
21
22inherits SvSurfaces from ApproxInt
23
24uses
25 Pnt from gp,
26 Pnt2d from gp,
27 Vec from gp,
28 Vec2d from gp
29
30 class TheInt2S instantiates Int2S from IntImp(
31 ThePSurface,ThePSurfaceTool);
32
33is
34 Create(Surf1,Surf2: ThePSurface);
35
36 Compute(me: in out;
37 u1,v1,u2,v2: in out Real from Standard;
38 Pt: out Pnt from gp;
39 Tg: out Vec from gp;
40 Tguv1,Tguv2: out Vec2d from gp)
41 ---Purpose: returns True if Tg,Tguv1 Tguv2 can be computed.
42 returns Boolean from Standard is static;
43
44 Pnt(me: in out;
45 u1,v1,u2,v2: in Real from Standard;
46 P: out Pnt from gp) is static;
47
48 Tangency(me: in out;
49 u1,v1,u2,v2: in Real from Standard;
50 Tg: out Vec from gp)
51 returns Boolean from Standard is static;
52
53 TangencyOnSurf1(me: in out;
54 u1,v1,u2,v2: in Real from Standard;
55 Tg: out Vec2d from gp)
56 returns Boolean from Standard is static;
57
58 TangencyOnSurf2(me: in out;
59 u1,v1,u2,v2: in Real from Standard;
60 Tg: out Vec2d from gp)
61 returns Boolean from Standard is static;
62
63fields
64 MyParOnS1 : Pnt2d from gp;
65 MyParOnS2 : Pnt2d from gp;
66 MyPnt : Pnt from gp;
67 MyTguv1 : Vec2d from gp;
68 MyTguv2 : Vec2d from gp;
69 MyTg : Vec from gp;
70 MyIsTangent : Boolean from Standard;
71 MyHasBeenComputed : Boolean from Standard;
72
73 MyParOnS1bis : Pnt2d from gp;
74 MyParOnS2bis : Pnt2d from gp;
75 MyPntbis : Pnt from gp;
76 MyTguv1bis : Vec2d from gp;
77 MyTguv2bis : Vec2d from gp;
78 MyTgbis : Vec from gp;
79 MyIsTangentbis : Boolean from Standard;
80 MyHasBeenComputedbis : Boolean from Standard;
81
82 MyIntersectionOn2S : TheInt2S;
83
84end PrmPrmSvSurfaces;
85
86
87