summaryrefslogtreecommitdiff
path: root/inc/TopTools_OrientedShapeMapHasher.lxx
blob: 6bcc2b5d14844ced4840a73e8a3dc4a43e4edb26 (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
// File:	TopTools_OrientedShapeMapHasher.lxx
// Created:	Thu Jan 14 16:01:40 1993
// Author:	Remi LEQUETTE
//		<rle@phylox>


#include <TopoDS_Shape.hxx>

//=======================================================================
//function : HashCode
//purpose  : 
//=======================================================================
inline Standard_Integer  TopTools_OrientedShapeMapHasher::HashCode
  (const TopoDS_Shape& S, const Standard_Integer Upper)
{
  return S.HashCode(Upper);
}

//=======================================================================
//function : IsEqual
//purpose  : 
//=======================================================================
inline Standard_Boolean  TopTools_OrientedShapeMapHasher::IsEqual
  (const TopoDS_Shape& S1, const TopoDS_Shape& S2)
{
  return S1.IsEqual(S2);
}