summaryrefslogtreecommitdiff
path: root/src/BOP/BOP_EdgeInfo.cxx
blob: 061615452d56f8e7de7c07b2017bad517541c170 (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
// File:	BOP_EdgeInfo.cxx
// Created:	Mon Apr  9 10:29:58 2001
// Author:	Peter KURNEV
//		<pkv@irinox>

#include <BOP_EdgeInfo.ixx>

//=======================================================================
// function: BOP_EdgeInfo::BOP_EdgeInfo
// purpose: 
//=======================================================================
  BOP_EdgeInfo::BOP_EdgeInfo() 
:
  myPassed(Standard_False),
  myInFlag(Standard_False),
  myAngle (-1.)
{}

//=======================================================================
// function: SetEdge
// purpose: 
//=======================================================================
  void BOP_EdgeInfo::SetEdge(const TopoDS_Edge& anEdge)
{
  myEdge=anEdge;
}

//=======================================================================
// function: SetPassed
// purpose: 
//=======================================================================
  void BOP_EdgeInfo::SetPassed(const Standard_Boolean aFlag)
{
  myPassed=aFlag;
}
//=======================================================================
// function: SetInFlag
// purpose: 
//=======================================================================
  void BOP_EdgeInfo::SetInFlag(const Standard_Boolean aFlag)
{
  myInFlag=aFlag;
}

//=======================================================================
// function: SetAngle
// purpose: 
//=======================================================================
  void BOP_EdgeInfo::SetAngle(const Standard_Real anAngle)
{
  myAngle=anAngle;
}

//=======================================================================
// function: Edge
// purpose: 
//=======================================================================
  const TopoDS_Edge& BOP_EdgeInfo::Edge()const
{
  return myEdge;
}

//=======================================================================
// function: Passed
// purpose: 
//=======================================================================
  Standard_Boolean BOP_EdgeInfo::Passed()const 
{
  return myPassed;
}
//=======================================================================
// function: IsIn
// purpose: 
//=======================================================================
  Standard_Boolean BOP_EdgeInfo::IsIn()const 
{
  return myInFlag;
}

//=======================================================================
// function: Angle
// purpose: 
//=======================================================================
  Standard_Real BOP_EdgeInfo::Angle()const 
{
  return myAngle;
}