API Reference > OdDb Classes > OdDbFilteredBlockIterator Class > OdDbFilteredBlockIterator Methods > OdDbFilteredBlockIterator::estimatedHitFraction Method
OdDbFilteredBlockIterator::estimatedHitFraction Method
Syntax
C++
virtual double estimatedHitFraction() const = 0;

Returns the estimated fraction [0.0 .. 1.0] of the contents that will be selected by the OdDbFilter query.

Used to order the OdDbFilteredBlockIterator objects during a block traversal. 

 

  • 0.0 forces the iterator to be used first.
  • 1.0 forces the iterator to be used last.

 

The filters with the fewest hits will be applied first.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.