1 // Created on: 1993-07-26
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 #include <PBRep_CurveOnClosedSurface.ixx>
20 //=======================================================================
21 //function : PBRep_CurveOnClosedSurface
23 //=======================================================================
25 PBRep_CurveOnClosedSurface::PBRep_CurveOnClosedSurface
26 (const Handle(PGeom2d_Curve)& PC1,
27 const Handle(PGeom2d_Curve)& PC2,
28 const Standard_Real CF,
29 const Standard_Real CL,
30 const Handle(PGeom_Surface)& S,
31 const PTopLoc_Location& L,
32 const GeomAbs_Shape C) :
33 PBRep_CurveOnSurface(PC1, CF, CL, S, L),
40 //=======================================================================
43 //=======================================================================
45 Handle(PGeom2d_Curve) PBRep_CurveOnClosedSurface::PCurve2()const
51 //=======================================================================
52 //function : Continuity
54 //=======================================================================
56 GeomAbs_Shape PBRep_CurveOnClosedSurface::Continuity()const
61 //=======================================================================
62 //function : IsCurveOnClosedSurface
64 //=======================================================================
66 Standard_Boolean PBRep_CurveOnClosedSurface::IsCurveOnClosedSurface()const
71 //=======================================================================
72 //function : IsRegularity
74 //=======================================================================
76 Standard_Boolean PBRep_CurveOnClosedSurface::IsRegularity()const
81 //=======================================================================
82 //function : SetUVPoints2
84 //=======================================================================
86 void PBRep_CurveOnClosedSurface::SetUVPoints2(const gp_Pnt2d& Pnt1,
93 //=======================================================================
96 //=======================================================================
98 gp_Pnt2d PBRep_CurveOnClosedSurface::FirstUV2() const
103 //=======================================================================
106 //=======================================================================
108 gp_Pnt2d PBRep_CurveOnClosedSurface::LastUV2() const