Open CASCADE Technology  7.2.0
Static Public Member Functions
STEPConstruct_PointHasher Class Reference

#include <STEPConstruct_PointHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const gp_Pnt &Point, const Standard_Integer Upper)
 Returns a HasCode value for the Key <K> in the range 0..Upper. More...
 
static Standard_Boolean IsEqual (const gp_Pnt &Point1, const gp_Pnt &Point2)
 Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. More...
 

Member Function Documentation

◆ HashCode()

static Standard_Integer STEPConstruct_PointHasher::HashCode ( const gp_Pnt Point,
const Standard_Integer  Upper 
)
static

Returns a HasCode value for the Key <K> in the range 0..Upper.

◆ IsEqual()

static Standard_Boolean STEPConstruct_PointHasher::IsEqual ( const gp_Pnt Point1,
const gp_Pnt Point2 
)
static

Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.


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