Open CASCADE Technology  7.4.1.dev
Data Structures | Functions
BRepMesh_OrientedEdge.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <BRepMesh_DegreeOfFreedom.hxx>

Data Structures

class  BRepMesh_OrientedEdge
 Light weighted structure representing simple link. More...
 

Functions

Standard_Integer HashCode (const BRepMesh_OrientedEdge &theOrientedEdge, const Standard_Integer theUpperBound)
 Computes a hash code for the given oriented edge, in the range [1, theUpperBound]. More...
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const BRepMesh_OrientedEdge theOrientedEdge,
const Standard_Integer  theUpperBound 
)
inline

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

Parameters
theOrientedEdgethe oriented edge 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]