Open CASCADE Technology  7.5.0
Static Public Member Functions
StepToTopoDS_PointPairHasher Class Reference

#include <StepToTopoDS_PointPairHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const StepToTopoDS_PointPair &thePointPair, Standard_Integer theUpperBound)
 Computes a hash code for the point pair, in the range [1, theUpperBound]. More...
 
static Standard_Boolean IsEqual (const StepToTopoDS_PointPair &K1, const StepToTopoDS_PointPair &K2)
 Returns True when the two PointPair are the same. More...
 

Member Function Documentation

◆ HashCode()

static Standard_Integer StepToTopoDS_PointPairHasher::HashCode ( const StepToTopoDS_PointPair thePointPair,
Standard_Integer  theUpperBound 
)
static

Computes a hash code for the point pair, in the range [1, theUpperBound].

Parameters
thePointPairthe point pair 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 StepToTopoDS_PointPairHasher::IsEqual ( const StepToTopoDS_PointPair K1,
const StepToTopoDS_PointPair K2 
)
static

Returns True when the two PointPair are the same.


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