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

Data Structures

class  BRepMesh_Edge
 Light weighted structure representing link of the mesh. More...
 

Functions

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

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const BRepMesh_Edge theEdge,
const Standard_Integer  theUpperBound 
)
inline

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

Parameters
theEdgethe 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]