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 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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class CurveOnSurface from PBRep inherits GCurve from PBRep
19 ---Purpose: Representation of a curve by a curve in the
20 -- parametric space of a surface.
30 Create(PC : Curve from PGeom2d;
31 CF : Real from Standard;
32 CL : Real from Standard;
33 S : Surface from PGeom;
34 L : Location from PTopLoc)
35 returns CurveOnSurface from PBRep;
36 ---Purpose: CF is curve first parameter
37 -- CL is curve last parameter
38 -- As far as they can't be computed from a Persistent Curve
39 -- they are given in the CurveOnSurface constructor
41 Surface(me) returns Surface from PGeom
45 PCurve(me) returns Curve from PGeom2d
49 IsCurveOnSurface(me) returns Boolean
50 ---Purpose: Returns True.
53 SetUVPoints(me : mutable; Pnt1, Pnt2 : Pnt2d from gp);
55 FirstUV(me) returns Pnt2d from gp;
57 LastUV(me) returns Pnt2d from gp;
61 myPCurve : Curve from PGeom2d;
62 mySurface : Surface from PGeom;
63 myUV1 : Pnt2d from gp;
64 myUV2 : Pnt2d from gp;