f049a641ce0030f2b4911326fed8c3026cffa743
[occt.git] / src / PBRep / PBRep_CurveOn2Surfaces.cdl
1 -- Created on: 1993-07-06
2 -- Created by: Remi LEQUETTE
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class CurveOn2Surfaces from PBRep inherits CurveRepresentation from PBRep
18
19         ---Purpose: Defines a continuity between two surfaces.
20
21 uses
22     Surface  from PGeom,
23     Location from PTopLoc,
24     Shape    from GeomAbs
25     
26 raises
27     NullObject from Standard
28     
29 is
30
31     Create(S1 , S2  : Surface  from PGeom;
32            L1 , L2  : Location from PTopLoc;
33            C        : Shape    from GeomAbs)
34     returns CurveOn2Surfaces from PBRep;
35
36     Surface(me) returns any Surface from PGeom
37     is static;
38
39     Surface2(me) returns any Surface from PGeom
40     is static;
41
42     Location2(me) returns Location from PTopLoc
43     is static;
44
45     Continuity(me) returns Shape from GeomAbs
46     is static;
47     
48     IsRegularity(me) returns Boolean
49         ---Purpose: Returns True.
50     is redefined;
51     
52 fields
53     mySurface    : Surface  from PGeom;
54     mySurface2   : Surface  from PGeom;
55     myLocation2  : Location from PTopLoc;
56     myContinuity : Shape    from GeomAbs;
57
58 end CurveOn2Surfaces;