1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
// File: PBRep_CurveOnClosedSurface.cxx
// Created: Mon Jul 26 10:28:54 1993
// Author: Remi LEQUETTE
// <rle@nonox>
#include <PBRep_CurveOnClosedSurface.ixx>
//=======================================================================
//function : PBRep_CurveOnClosedSurface
//purpose :
//=======================================================================
PBRep_CurveOnClosedSurface::PBRep_CurveOnClosedSurface
(const Handle(PGeom2d_Curve)& PC1,
const Handle(PGeom2d_Curve)& PC2,
const Standard_Real CF,
const Standard_Real CL,
const Handle(PGeom_Surface)& S,
const PTopLoc_Location& L,
const GeomAbs_Shape C) :
PBRep_CurveOnSurface(PC1, CF, CL, S, L),
myPCurve2(PC2),
myContinuity(C)
{
}
//=======================================================================
//function : PCurve2
//purpose :
//=======================================================================
Handle(PGeom2d_Curve) PBRep_CurveOnClosedSurface::PCurve2()const
{
return myPCurve2;
}
//=======================================================================
//function : Continuity
//purpose :
//=======================================================================
GeomAbs_Shape PBRep_CurveOnClosedSurface::Continuity()const
{
return myContinuity;
}
//=======================================================================
//function : IsCurveOnClosedSurface
//purpose :
//=======================================================================
Standard_Boolean PBRep_CurveOnClosedSurface::IsCurveOnClosedSurface()const
{
return Standard_True;
}
//=======================================================================
//function : IsRegularity
//purpose :
//=======================================================================
Standard_Boolean PBRep_CurveOnClosedSurface::IsRegularity()const
{
return Standard_True;
}
//=======================================================================
//function : SetUVPoints2
//purpose :
//=======================================================================
void PBRep_CurveOnClosedSurface::SetUVPoints2(const gp_Pnt2d& Pnt1,
const gp_Pnt2d& Pnt2)
{
myUV21 = Pnt1;
myUV22 = Pnt2;
}
//=======================================================================
//function : FirstUV2
//purpose :
//=======================================================================
gp_Pnt2d PBRep_CurveOnClosedSurface::FirstUV2() const
{
return myUV21;
}
//=======================================================================
//function : LastUV2
//purpose :
//=======================================================================
gp_Pnt2d PBRep_CurveOnClosedSurface::LastUV2() const
{
return myUV22;
}
|