mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
14
src/IntTools/IntTools_CurveRangeSampleMapHasher.lxx
Executable file
14
src/IntTools/IntTools_CurveRangeSampleMapHasher.lxx
Executable file
@@ -0,0 +1,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);
|
||||
}
|
Reference in New Issue
Block a user