Open CASCADE Technology  7.4.0
Data Structures | Functions

BRepMesh_Triangle.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <BRepMesh_DegreeOfFreedom.hxx>

Data Structures

class  BRepMesh_Triangle
 Light weighted structure representing triangle of mesh consisting of oriented links. More...
 

Functions

Standard_Integer HashCode (const BRepMesh_Triangle &theTriangle, const Standard_Integer theUpperBound)
 Computes a hash code for the given triangle, in the range [1, theUpperBound]. More...
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const BRepMesh_Triangle theTriangle,
const Standard_Integer  theUpperBound 
)
inline

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

Parameters
theTrianglethe triangle 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]