summaryrefslogtreecommitdiff
path: root/inc/Hatch_Hatcher.lxx
blob: 886048b3ec5bdf2437fe9d5e74e3cc64d4c89e2e (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
// File:	Hatch_Hatcher.lxx
// Created:	Wed Aug 19 15:41:25 1992
// Author:	Modelistation
//		<model@phylox>


//=======================================================================
//function : Tolerance
//purpose  : 
//=======================================================================

inline void Hatch_Hatcher::Tolerance(const Standard_Real Tol)
{
  myToler = Tol;
}

//=======================================================================
//function : Tolerance
//purpose  : 
//=======================================================================

inline Standard_Real Hatch_Hatcher::Tolerance() const
{
  return myToler;
}

inline Standard_Boolean Hatch_Hatcher::IsXLine(const Standard_Integer I) const
{
  return LineForm(I) == Hatch_XLINE;
}
  
inline Standard_Boolean Hatch_Hatcher::IsYLine(const Standard_Integer I) const
{
  return LineForm(I) == Hatch_YLINE;
}