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
|
// File: GeomFill_DegeneratedBound.cxx
// Created: Tue Dec 5 17:52:55 1995
// Author: Laurent BOURESCHE
// <lbo@phylox>
#include <GeomFill_DegeneratedBound.ixx>
//=======================================================================
//function : GeomFill_DegeneratedBound
//purpose :
//=======================================================================
GeomFill_DegeneratedBound::GeomFill_DegeneratedBound
(const gp_Pnt& Point,
const Standard_Real First,
const Standard_Real Last,
const Standard_Real Tol3d,
const Standard_Real Tolang) :
GeomFill_Boundary(Tol3d,Tolang),
myPoint(Point),myFirst(First),myLast(Last)
{
}
//=======================================================================
//function : Value
//purpose :
//=======================================================================
//gp_Pnt GeomFill_DegeneratedBound::Value(const Standard_Real U) const
gp_Pnt GeomFill_DegeneratedBound::Value(const Standard_Real ) const
{
return myPoint;
}
//=======================================================================
//function : D1
//purpose :
//=======================================================================
//void GeomFill_DegeneratedBound::D1(const Standard_Real U,
void GeomFill_DegeneratedBound::D1(const Standard_Real ,
gp_Pnt& P,
gp_Vec& V) const
{
P = myPoint;
V.SetCoord(0.,0.,0.);
}
//=======================================================================
//function : Reparametrize
//purpose :
//=======================================================================
void GeomFill_DegeneratedBound::Reparametrize(const Standard_Real First,
const Standard_Real Last,
const Standard_Boolean ,
const Standard_Boolean ,
const Standard_Real ,
const Standard_Real ,
const Standard_Boolean )
{
myFirst = First;
myLast = Last;
}
//=======================================================================
//function : Bounds
//purpose :
//=======================================================================
void GeomFill_DegeneratedBound::Bounds(Standard_Real& First,
Standard_Real& Last) const
{
First = myFirst;
Last = myLast;
}
//=======================================================================
//function : IsDegenerated
//purpose :
//=======================================================================
Standard_Boolean GeomFill_DegeneratedBound::IsDegenerated() const
{
return Standard_True;
}
|