Open CASCADE Technology  7.7.0
Data Structures | Functions
TopoDS_Shape.hxx File Reference
#include <Standard_Handle.hxx>
#include <TopLoc_Location.hxx>
#include <TopoDS_TShape.hxx>

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]. More...
 

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]