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 CurveOnSurface from BRep inherits GCurve from BRep
19 ---Purpose: Representation of a curve by a curve in the
20 -- parametric space of a surface.
29 CurveRepresentation from BRep
33 Create(PC : Curve from Geom2d;
34 S : Surface from Geom;
35 L : Location from TopLoc)
36 returns mutable CurveOnSurface from BRep;
38 SetUVPoints(me : mutable; P1, P2 : Pnt2d from gp)
42 UVPoints(me; P1, P2 : out Pnt2d from gp)
46 D0(me; U : Real; P : out Pnt from gp);
47 ---Purpose: Computes the point at parameter U.
49 IsCurveOnSurface(me) returns Boolean
50 ---Purpose: Returns True.
53 IsCurveOnSurface(me; S : Surface from Geom; L : Location from TopLoc)
55 ---Purpose: A curve in the parametric space of a surface.
58 Surface(me) returns any Surface from Geom
59 ---C++: return const &
62 PCurve(me) returns any Curve from Geom2d
63 ---C++: return const &
66 PCurve(me : mutable; C : Curve from Geom2d)
69 Copy(me) returns mutable CurveRepresentation from BRep is virtual;
70 ---Purpose: Return a copy of this representation.
73 ---Purpose: Recomputes any derived data after a modification.
74 -- This is called when the range is modified.
79 myPCurve : Curve from Geom2d;
80 mySurface : Surface from Geom;
81 myUV1 : Pnt2d from gp is protected;
82 myUV2 : Pnt2d from gp is protected;