Open CASCADE Technology  7.3.0
Static Public Member Functions
TopTools_OrientedShapeMapHasher Class Reference

#include <TopTools_OrientedShapeMapHasher.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 range 0..Upper. More...
 
static Standard_Boolean IsEqual (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Returns True when the two keys are equal. Two same keys must have the same hashcode, the contrary is not necessary. More...
 

Member Function Documentation

◆ HashCode()

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

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

◆ IsEqual()

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

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


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