summaryrefslogtreecommitdiff
path: root/inc/IntTools_CurveRangeSampleMapHasher.lxx
blob: cb09864f74c3de8856f53c62e9741b3abdf6bc98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// File:	IntTools_CurveRangeSampleMapHasher.lxx
// Created:	Fri Oct 14 21:00:44 2005
// Author:	Mikhail KLOKOV
//		<mkk@kurox>

inline Standard_Integer IntTools_CurveRangeSampleMapHasher::HashCode(const IntTools_CurveRangeSample& K,
								     const Standard_Integer Upper) {
  return (K.GetDepth() % Upper);
}
	
inline Standard_Boolean IntTools_CurveRangeSampleMapHasher::IsEqual(const IntTools_CurveRangeSample& S1,
								    const IntTools_CurveRangeSample& S2) {
  return S1.IsEqual(S2);
}