Open CASCADE Technology 7.8.2.dev
MeshVS_SymmetricPairHasher Struct Reference

Provides symmetric hash methods pair of integers. More...

#include <MeshVS_SymmetricPairHasher.hxx>

Public Member Functions

size_t operator() (const MeshVS_NodePair &theNodePair) const noexcept
 Computes a hash code for the node pair.
 
bool operator() (const MeshVS_NodePair &thePair1, const MeshVS_NodePair &thePair2) const noexcept
 

Detailed Description

Provides symmetric hash methods pair of integers.

Member Function Documentation

◆ operator()() [1/2]

size_t MeshVS_SymmetricPairHasher::operator() ( const MeshVS_NodePair & theNodePair) const
inlinenoexcept

Computes a hash code for the node pair.

Parameters
theNodePairthe node pair which hash code is to be computed
Returns
a computed hash code

◆ operator()() [2/2]

bool MeshVS_SymmetricPairHasher::operator() ( const MeshVS_NodePair & thePair1,
const MeshVS_NodePair & thePair2 ) const
inlinenoexcept

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