Open CASCADE Technology  7.5.0
Public Member Functions | Data Fields

BVH::BitComparator Struct Reference

STL compare tool used in binary search algorithm. More...

#include <BVH_RadixSorter.hxx>

Public Member Functions

 BitComparator (const Standard_Integer theDigit)
 Creates new STL comparator. More...
 
bool operator() (BVH_EncodedLink theLink1, BVH_EncodedLink)
 Checks left value for the given bit. More...
 

Data Fields

unsigned int myBit
 

Detailed Description

STL compare tool used in binary search algorithm.

Constructor & Destructor Documentation

◆ BitComparator()

BVH::BitComparator::BitComparator ( const Standard_Integer  theDigit)
inline

Creates new STL comparator.

Member Function Documentation

◆ operator()()

bool BVH::BitComparator::operator() ( BVH_EncodedLink  theLink1,
BVH_EncodedLink   
)
inline

Checks left value for the given bit.

Field Documentation

◆ myBit

unsigned int BVH::BitComparator::myBit

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