summaryrefslogtreecommitdiff
path: root/src/BOPTools/BOPTools_Interference.cxx
blob: 35c575480ebf5ecaec125ef395826c81f81a6e46 (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
// File:	BOPTools_Interference.cxx
// Created:	Tue Nov 21 11:44:31 2000
// Author:	Peter KURNEV
//		<pkv@irinox>

#include <BOPTools_Interference.ixx>

//=======================================================================
//function : BOPTools_Interference::BOPTools_Interference
//purpose  : 
//=======================================================================
  BOPTools_Interference::BOPTools_Interference()
:
  myWith(0),
  myType(BooleanOperations_UnknownInterference),
  myIndex(0)
{
}

//=======================================================================
//function : BOPTools_Interference::BOPTools_Interference
//purpose  : 
//=======================================================================
  BOPTools_Interference::BOPTools_Interference(const Standard_Integer aWith,
					       const BooleanOperations_KindOfInterference aType,
					       const Standard_Integer anIndex)
:
  myWith(aWith),
  myType(aType),
  myIndex(anIndex)
{
}
//=======================================================================
//function : SetWith
//purpose  : 
//=======================================================================
  void BOPTools_Interference::SetWith(const Standard_Integer aWith) 
{
  myWith=aWith;
}

//=======================================================================
//function : SetType
//purpose  : 
//=======================================================================
  void BOPTools_Interference::SetType(const BooleanOperations_KindOfInterference aType) 
{
  myType=aType;
}

//=======================================================================
//function : SetIndex
//purpose  : 
//=======================================================================
  void BOPTools_Interference::SetIndex(const Standard_Integer anIndex) 
{
  myIndex=anIndex;
}

//=======================================================================
//function : With
//purpose  : 
//=======================================================================
  Standard_Integer BOPTools_Interference::With() const
{
  return myWith;
}

//=======================================================================
//function : Type
//purpose  : 
//=======================================================================
  BooleanOperations_KindOfInterference BOPTools_Interference::Type() const
{
  return myType;
}

//=======================================================================
//function : Index
//purpose  : 
//=======================================================================
  Standard_Integer BOPTools_Interference::Index() const
{
  return myIndex;
}