Open CASCADE Technology  7.4.0
Data Structures | Functions
BRepMesh_Vertex.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <gp_XY.hxx>
#include <BRepMesh_DegreeOfFreedom.hxx>
#include <Precision.hxx>

Data Structures

class  BRepMesh_Vertex
 Light weighted structure representing vertex of the mesh in parametric space. Vertex could be associated with 3d point stored in external map. More...
 

Functions

Standard_Integer HashCode (const BRepMesh_Vertex &theVertex, const Standard_Integer theUpperBound)
 Computes a hash code for the given vertex, in the range [1, theUpperBound]. More...
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const BRepMesh_Vertex theVertex,
const Standard_Integer  theUpperBound 
)
inline

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

Parameters
theVertexthe vertex 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]