Open CASCADE Technology  7.3.0
Static Public Member Functions

IntTools_CurveRangeSampleMapHasher Class Reference

class for range index management of curve More...

#include <IntTools_CurveRangeSampleMapHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const IntTools_CurveRangeSample &K, const Standard_Integer Upper)
 Returns a HasCode value for the Key <K> in the range 0..Upper. More...
 
static Standard_Boolean IsEqual (const IntTools_CurveRangeSample &S1, const IntTools_CurveRangeSample &S2)
 Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. More...
 

Detailed Description

class for range index management of curve

Member Function Documentation

◆ HashCode()

static Standard_Integer IntTools_CurveRangeSampleMapHasher::HashCode ( const IntTools_CurveRangeSample K,
const Standard_Integer  Upper 
)
static

Returns a HasCode value for the Key <K> in the range 0..Upper.

◆ IsEqual()

static Standard_Boolean IntTools_CurveRangeSampleMapHasher::IsEqual ( const IntTools_CurveRangeSample S1,
const IntTools_CurveRangeSample S2 
)
static

Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.


The documentation for this class was generated from the following file: