MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_VoxelBitSet Class Reference

Vector<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR.VoxelBitSet. Base classes: Direct: (non-virtual) MR.BitSet This is the const half of the class. More...

+ Inheritance diagram for MR.Const_VoxelBitSet:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_VoxelBitSet ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_VoxelBitSet (MR._ByValue_VoxelBitSet _other)
 Generated from constructor MR.VoxelBitSet.VoxelBitSet.
 
unsafe Const_VoxelBitSet (ulong numBits, bool? fillValue=null)
 creates bitset of given size filled with given value Generated from constructor MR.VoxelBitSet.VoxelBitSet. Parameter fillValue defaults to false.
 
unsafe Const_VoxelBitSet (MR.Const_BitSet src)
 copies all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.VoxelBitSet.VoxelBitSet.
 
unsafe Const_VoxelBitSet (MR.Misc._Moved< MR.BitSet > src)
 moves all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.VoxelBitSet.VoxelBitSet.
 
unsafe bool test (MR.VoxelId n)
 Generated from method MR.VoxelBitSet.test.
 
unsafe MR.VoxelId findFirst ()
 Generated from method MR.VoxelBitSet.find_first.
 
unsafe MR.VoxelId findNext (MR.VoxelId pos)
 Generated from method MR.VoxelBitSet.find_next.
 
unsafe MR.VoxelId findLast ()
 Generated from method MR.VoxelBitSet.find_last.
 
unsafe MR.VoxelId nthSetBit (ulong n)
 returns the location of nth set bit (where the first bit corresponds to n=0) or IndexType(npos) if there are less bit set Generated from method MR.VoxelBitSet.nthSetBit.
 
unsafe bool isSubsetOf (MR.Const_VoxelBitSet a)
 returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR.VoxelBitSet.is_subset_of.
 
unsafe bool intersects (MR.Const_VoxelBitSet a)
 returns true if, there is a bit which is set in this bitset, such that the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR.VoxelBitSet.intersects.
 
unsafe MR.VoxelBitSet getMapping (MR.Const_Vector_MRVoxelId_MRVoxelId map)
 Generated from method MR.VoxelBitSet.getMapping.
 
unsafe MR.VoxelBitSet getMapping (MR.Const_BMap_MRVoxelId_MRVoxelId map)
 Generated from method MR.VoxelBitSet.getMapping.
 
unsafe MR.VoxelBitSet getMapping (MR.Phmap.Const_FlatHashMap_MRVoxelId_MRVoxelId map)
 Generated from method MR.VoxelBitSet.getMapping.
 
unsafe MR.VoxelBitSet getMapping (MR.Const_Vector_MRVoxelId_MRVoxelId map, ulong resSize)
 Generated from method MR.VoxelBitSet.getMapping.
 
unsafe MR.VoxelBitSet getMapping (MR.Phmap.Const_FlatHashMap_MRVoxelId_MRVoxelId map, ulong resSize)
 Generated from method MR.VoxelBitSet.getMapping.
 
unsafe MR.VoxelId backId ()
 returns the identifier of the back() element Generated from method MR.VoxelBitSet.backId.
 
unsafe MR.VoxelId endId ()
 Generated from method MR.VoxelBitSet.endId.
 
unsafe bool empty ()
 Generated from method MR.VoxelBitSet.empty.
 
unsafe ulong size ()
 Generated from method MR.VoxelBitSet.size.
 
unsafe ulong numBlocks ()
 Generated from method MR.VoxelBitSet.num_blocks.
 
unsafe ulong capacity ()
 Generated from method MR.VoxelBitSet.capacity.
 
unsafe bool uncheckedTest (ulong n)
 Generated from method MR.VoxelBitSet.uncheckedTest.
 
unsafe MR.Std.Const_Vector_MRUint64T bits ()
 read-only access to all bits stored as a vector of uint64 blocks Generated from method MR.VoxelBitSet.bits.
 
unsafe bool all ()
 returns true if all bits in this container are set Generated from method MR.VoxelBitSet.all.
 
unsafe bool any ()
 returns true if at least one bits in this container is set Generated from method MR.VoxelBitSet.any.
 
unsafe bool none ()
 returns true if all bits in this container are reset Generated from method MR.VoxelBitSet.none.
 
unsafe ulong count ()
 computes the number of set bits in the whole set Generated from method MR.VoxelBitSet.count.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.VoxelBitSet.heapBytes.
 

Static Public Member Functions

static unsafe implicit operator MR.Const_BitSet (Const_VoxelBitSet self)
 
static MR.VoxelId beginId ()
 [beginId(), endId()) is the range of all bits in the set Generated from method MR.VoxelBitSet.beginId.
 
static unsafe MR.BitSet fromBlocks (MR.Misc._Moved< MR.Std.Vector_MRUint64T > blocks)
 creates bitset from the given blocks of bits Generated from method MR.VoxelBitSet.fromBlocks.
 
static unsafe MR.VoxelBitSet operator& (MR.Const_VoxelBitSet a, MR.Const_VoxelBitSet b)
 Generated from function MR.operator&.
 
static unsafe MR.VoxelBitSet operator| (MR.Const_VoxelBitSet a, MR.Const_VoxelBitSet b)
 Generated from function MR.operator|.
 
static unsafe MR.VoxelBitSet operator^ (MR.Const_VoxelBitSet a, MR.Const_VoxelBitSet b)
 Generated from function MR.operator^.
 
static unsafe MR.VoxelBitSet operator- (MR.Const_VoxelBitSet a, MR.Const_VoxelBitSet b)
 Generated from function MR.operator-.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

static unsafe ulong BitsPerBlock [get]
 
static unsafe ulong Npos [get]
 
- Properties inherited from MR.Misc.Object< Const_VoxelBitSet >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_VoxelBitSet >
bool _IsOwningVal
 

Detailed Description

Vector<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR.VoxelBitSet. Base classes: Direct: (non-virtual) MR.BitSet This is the const half of the class.


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