Open CASCADE Technology  7.5.0
Static Public Member Functions
IntPolyh_CoupleMapHasher Class Reference

#include <IntPolyh_CoupleMapHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const IntPolyh_Couple &theCouple, const Standard_Integer theUpperBound)
 Computes a hash code for the given couple, in the range [1, theUpperBound]. More...
 
static Standard_Boolean IsEqual (const IntPolyh_Couple &theCouple1, const IntPolyh_Couple &theCouple2)
 

Member Function Documentation

◆ HashCode()

static Standard_Integer IntPolyh_CoupleMapHasher::HashCode ( const IntPolyh_Couple theCouple,
const Standard_Integer  theUpperBound 
)
inlinestatic

Computes a hash code for the given couple, in the range [1, theUpperBound].

Parameters
theCouplethe couple which hash code is to be computed
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]

◆ IsEqual()

static Standard_Boolean IntPolyh_CoupleMapHasher::IsEqual ( const IntPolyh_Couple theCouple1,
const IntPolyh_Couple theCouple2 
)
inlinestatic

The documentation for this class was generated from the following file: