Open CASCADE Technology 7.7.2
TopoDS_Shape.hxx File Reference

Data Structures

class  TopoDS_Shape
 Describes a shape which. More...
 

Functions

Standard_Integer HashCode (const TopoDS_Shape &theShape, const Standard_Integer theUpperBound)
 Computes a hash code for the given shape, in the range [1, theUpperBound].
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const TopoDS_Shape & theShape,
const Standard_Integer theUpperBound )
inline

Computes a hash code for the given shape, in the range [1, theUpperBound].

Parameters
theShapethe shape which hash code is to be computed
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]