Open CASCADE Technology 6.6.0
|
Hash tool, used for generating maps of shapes in topology.
#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 range 0..Upper. | |
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. |
static Standard_Integer TopTools_ShapeMapHasher::HashCode | ( | const TopoDS_Shape & | S, |
const Standard_Integer | Upper | ||
) | [static] |
static Standard_Boolean TopTools_ShapeMapHasher::IsEqual | ( | const TopoDS_Shape & | S1, |
const TopoDS_Shape & | S2 | ||
) | [static] |