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

Method nthSetBit

source/MRMesh/MRBitSet.cpp:256–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256size_t BitSet::nthSetBit( size_t n ) const
257{
258 for ( auto b : *this )
259 if ( n-- == 0 )
260 return b;
261 return npos;
262}
263
264bool BitSet::is_subset_of( const BitSet& a ) const
265{

Callers 3

TESTFunction · 0.45
loadSlices<VdbVolume>Function · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36