summaryrefslogtreecommitdiff
path: root/src/StepToTopoDS/StepToTopoDS_CartesianPointHasher.cxx
blob: 8393da8433ecec820088434f6da97c1df20050fd (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
// File:	StepToTopoDS_CartesianPointHasher.cxx
// Created:	Mon Aug 30 12:26:11 1993
// Author:	Martine LANGLOIS
//		<mla@nonox>


#include <StepToTopoDS_CartesianPointHasher.ixx>
#include <StepGeom_CartesianPoint.hxx>

//=======================================================================
//function : HashCode
//purpose  : 
//=======================================================================

Standard_Integer StepToTopoDS_CartesianPointHasher::HashCode
  (const Handle(StepGeom_CartesianPoint)& K, const Standard_Integer Upper)
{
  return ::HashCode(K,Upper);
}

//=======================================================================
//function : IsEqual
//purpose  : 
//=======================================================================

Standard_Boolean StepToTopoDS_CartesianPointHasher::IsEqual
  (const Handle(StepGeom_CartesianPoint)& K1,
   const Handle(StepGeom_CartesianPoint)& K2)
{
  return (K1 == K2);
}