Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions
TopTools_ShapeMapHasher Class Reference

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 &S, const Standard_Integer Upper)
 
 Returns a HasCode value  for  the  Key <K>  in the <br>
     range 0..Upper. <br>


More...

 
static Standard_Boolean IsEqual (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 
 Returns True  when the two  keys are the same. Two <br>
     same  keys  must   have  the  same  hashcode,  the <br>
     contrary is not necessary. <br>


More...

 

Detailed Description

Hash tool, used for generating maps of shapes in topology.

Member Function Documentation

static Standard_Integer TopTools_ShapeMapHasher::HashCode ( const TopoDS_Shape S,
const Standard_Integer  Upper 
)
static

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


static Standard_Boolean TopTools_ShapeMapHasher::IsEqual ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)
static

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



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