Open CASCADE Technology
7.4.1.dev

Hash tool, used for generating maps of shapes in topology. More...
#include <TopTools_ShapeMapHasher.hxx>
Static Public Member Functions  
static Standard_Integer  HashCode (const TopoDS_Shape &theShape, Standard_Integer theUpperBound) 
Computes a hash code for the given shape, in the range [1, theUpperBound]. More...  
static Standard_Boolean  IsEqual (const TopoDS_Shape &S1, const TopoDS_Shape &S2) 
Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. More...  
Hash tool, used for generating maps of shapes in topology.

static 
Computes a hash code for the given shape, in the range [1, theUpperBound].
theShape  the shape which hash code is to be computed 
theUpperBound  the upper bound of the range a computing hash code must be within 

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