Open CASCADE Technology  7.7.0
Static Public Member Functions

BOPDS_PaveMapHasher Class Reference

#include <BOPDS_PaveMapHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const BOPDS_Pave &thePave, Standard_Integer theUpperBound)
 Computes a hash code for the given pave, in the range [1, theUpperBound]. More...
 
static Standard_Boolean IsEqual (const BOPDS_Pave &aPave1, const BOPDS_Pave &aPave2)
 

Member Function Documentation

◆ HashCode()

static Standard_Integer BOPDS_PaveMapHasher::HashCode ( const BOPDS_Pave thePave,
Standard_Integer  theUpperBound 
)
static

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

Parameters
thePavethe pave 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 BOPDS_PaveMapHasher::IsEqual ( const BOPDS_Pave aPave1,
const BOPDS_Pave aPave2 
)
static

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