Open CASCADE Technology  7.2.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 theBit)
 Creates new STL comparator. More...
 
bool operator() (BVH_EncodedLink theLink1, BVH_EncodedLink)
 Checks left value for the given bit. More...
 

Data Fields

Standard_Integer myBit
 

Detailed Description

STL compare tool used in binary search algorithm.

Constructor & Destructor Documentation

◆ BitComparator()

BVH::BitComparator::BitComparator ( const Standard_Integer  theBit)
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

Standard_Integer BVH::BitComparator::myBit

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