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
6 -- This file is part of Open CASCADE Technology software library.
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class CurveOnClosedSurface from BRep inherits CurveOnSurface from BRep
19 ---Purpose: Representation of a curve by two pcurves on
29 CurveRepresentation from BRep
33 Create(PC1, PC2 : Curve from Geom2d;
34 S : Surface from Geom;
35 L : Location from TopLoc;
36 C : Shape from GeomAbs)
37 returns mutable CurveOnClosedSurface from BRep;
39 SetUVPoints2(me : mutable; P1, P2 : Pnt2d from gp)
43 UVPoints2(me; P1, P2 : out Pnt2d from gp)
47 IsCurveOnClosedSurface(me) returns Boolean
48 ---Purpose: Returns True.
51 IsRegularity(me) returns Boolean
52 ---Purpose: Returns True
55 IsRegularity(me; S1,S2 : Surface from Geom;
56 L1,L2 : Location from TopLoc)
58 ---Purpose: A curve on two surfaces (continuity).
61 PCurve2(me) returns any Curve from Geom2d
62 ---C++: return const &
65 Surface2(me) returns any Surface from Geom
66 ---Purpose: Returns Surface()
68 ---C++: return const &
71 Location2(me) returns Location from TopLoc
72 ---Purpose: Returns Location()
74 ---C++: return const &
77 Continuity(me) returns Shape from GeomAbs
78 ---C++: return const &
81 Continuity(me : mutable; C : Shape from GeomAbs)
84 PCurve2(me : mutable; C : Curve from Geom2d)
87 Copy(me) returns mutable CurveRepresentation from BRep
88 ---Purpose: Return a copy of this representation.
92 ---Purpose: Recomputes any derived data after a modification.
93 -- This is called when the range is modified.
98 myPCurve2 : Curve from Geom2d;
99 myContinuity : Shape from GeomAbs;
100 myUV21 : Pnt2d from gp;
101 myUV22 : Pnt2d from gp;
103 end CurveOnClosedSurface;