Open CASCADE Technology  7.6.0
Static Public Member Functions

StepToTopoDS_CartesianPointHasher Class Reference

#include <StepToTopoDS_CartesianPointHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const Handle< StepGeom_CartesianPoint > &theCartesianPoint, Standard_Integer theUpperBound)
 Computes a hash code for the cartesian point, in the range [1, theUpperBound]. More...
 
static Standard_Boolean IsEqual (const Handle< StepGeom_CartesianPoint > &K1, const Handle< StepGeom_CartesianPoint > &K2)
 Returns True when the two CartesianPoint are the same. More...
 

Member Function Documentation

◆ HashCode()

static Standard_Integer StepToTopoDS_CartesianPointHasher::HashCode ( const Handle< StepGeom_CartesianPoint > &  theCartesianPoint,
Standard_Integer  theUpperBound 
)
static

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

Parameters
theCartesianPointthe cartesian point 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_CartesianPointHasher::IsEqual ( const Handle< StepGeom_CartesianPoint > &  K1,
const Handle< StepGeom_CartesianPoint > &  K2 
)
static

Returns True when the two CartesianPoint are the same.


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