MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / toBlockRange

Function toBlockRange

source/MRMesh/MRBitSetParallelFor.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{
10
11Range toBlockRange( const Range & bitRange )
12{
13 return {
14 bitRange.begin() / BitSet::bits_per_block,
15 ( bitRange.end() + BitSet::bits_per_block - 1 ) / BitSet::bits_per_block,
16 };
17}
18
19Range toBitSubRange( const Range & bitRange, const Range & blockRange, const Range & subRange )
20{

Callers 1

forAllRangedFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected