summaryrefslogtreecommitdiff
path: root/inc/IntTools_CurveRangeSample.lxx
blob: 3ec120a2a4b846c1da5b7bd93839c27ef8ce326f (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
// File:	IntTools_CurveRangeSample.lxx
// Created:	Wed Oct  5 17:05:28 2005
// Author:	Mikhail KLOKOV
//		<mkk@kurox>

inline void IntTools_CurveRangeSample::SetRangeIndex(const Standard_Integer theIndex) 
{
  myIndex = theIndex;
}

 
inline Standard_Integer IntTools_CurveRangeSample::GetRangeIndex() const
{
  return myIndex;
}

inline Standard_Boolean IntTools_CurveRangeSample::IsEqual(const IntTools_CurveRangeSample& Other) const
{
  return ((myIndex == Other.myIndex) && (GetDepth() == Other.GetDepth()));
}

 
inline Standard_Integer IntTools_CurveRangeSample::GetRangeIndexDeeper(const Standard_Integer theNbSample) const
{
  return myIndex * theNbSample;
}