Open CASCADE Technology  7.6.0
Data Structures | Functions

TopoDS_Shape.hxx File Reference

#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <TopAbs.hxx>
#include <TopAbs_Orientation.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]