summaryrefslogtreecommitdiff
path: root/src/MAT2d/MAT2d_BiInt.cxx
blob: dcaf766d6e26b0249e9d98f7547b6efcc83f091e (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

// File:	MAT2d_BiInt.cxx
// Created:	Fri Nov 19 15:23:43 1993
// Author:	Yves FRICAUD
//		<yfr@phylox>

# include <MAT2d_BiInt.ixx>

MAT2d_BiInt::MAT2d_BiInt(const Standard_Integer I1,
			 const Standard_Integer I2)
     :i1(I1),i2(I2)
{
}


Standard_Integer  MAT2d_BiInt::FirstIndex()const 
{
  return i1;
}

Standard_Integer  MAT2d_BiInt::SecondIndex()const
{
  return i2;
}

void  MAT2d_BiInt::FirstIndex(const Standard_Integer I1)
{
  i1 = I1;
}

void  MAT2d_BiInt::SecondIndex(const Standard_Integer I2)
{
  i2 = I2;
}

Standard_Boolean MAT2d_BiInt::IsEqual(const MAT2d_BiInt& B)
const 
{
  return (i1 == B.FirstIndex() && i2 == B.SecondIndex());
}