summaryrefslogtreecommitdiff
path: root/src/GeomFill/GeomFill_Boundary.cxx
blob: a1898115712c5654de88a206f612abbae18a7c5f (plain)
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
103
104
105
106
107
108
109
110
111
112
113
// File:	GeomFill_Boundary.cxx
// Created:	Fri Nov  3 15:13:27 1995
// Author:	Laurent BOURESCHE
//		<lbo@phylox>


#include <GeomFill_Boundary.ixx>


//=======================================================================
//function : GeomFill_Boundary
//purpose  : 
//=======================================================================

GeomFill_Boundary::GeomFill_Boundary(const Standard_Real Tol3d, 
				     const Standard_Real Tolang):
 myT3d(Tol3d), myTang(Tolang)
{
}


//=======================================================================
//function : HasNormals
//purpose  : 
//=======================================================================

Standard_Boolean GeomFill_Boundary::HasNormals() const 
{
  return Standard_False;
}


//=======================================================================
//function : Norm
//purpose  : 
//=======================================================================

gp_Vec GeomFill_Boundary::Norm(const Standard_Real ) const 
{
  Standard_Failure::Raise("GeomFill_Boundary::Norm : Undefined normals");
  return gp_Vec();
}


//=======================================================================
//function : D1Norm
//purpose  : 
//=======================================================================

void GeomFill_Boundary::D1Norm(const Standard_Real , gp_Vec& , gp_Vec& ) const 
{
  Standard_Failure::Raise("GeomFill_Boundary::Norm : Undefined normals");
}


//=======================================================================
//function : Points
//purpose  : 
//=======================================================================

void GeomFill_Boundary::Points(gp_Pnt& PFirst, gp_Pnt& PLast) const
{
  Standard_Real f,l;
  Bounds(f,l);
  PFirst = Value(f);
  PLast  = Value(l);
}


//=======================================================================
//function : Tol3d
//purpose  : 
//=======================================================================

Standard_Real GeomFill_Boundary::Tol3d() const 
{
  return myT3d;
}


//=======================================================================
//function : Tol3d
//purpose  : 
//=======================================================================

void GeomFill_Boundary::Tol3d(const Standard_Real Tol)
{
  myT3d = Tol;
}


//=======================================================================
//function : Tolang
//purpose  : 
//=======================================================================

Standard_Real GeomFill_Boundary::Tolang() const 
{
  return myTang;
}


//=======================================================================
//function : Tolang
//purpose  : 
//=======================================================================

void GeomFill_Boundary::Tolang(const Standard_Real Tol)
{
  myTang = Tol;
}