MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.UndirectedEdgeBitSet Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.UndirectedEdgeBitSet:

Public Member Functions

UndirectedEdgeBitSet __and__ (self, UndirectedEdgeBitSet b)
 
UndirectedEdgeBitSet __iand__ (self, UndirectedEdgeBitSet b)
 
None __init__ (self, BitSet src)
 
None __init__ (self, BitSet src)
 
None __init__ (self)
 
None __init__ (self, UndirectedEdgeBitSet arg0)
 
UndirectedEdgeBitSet __ior__ (self, UndirectedEdgeBitSet b)
 
UndirectedEdgeBitSet __isub__ (self, UndirectedEdgeBitSet b)
 
typing.Iterator __iter__ (self)
 
UndirectedEdgeBitSet __ixor__ (self, UndirectedEdgeBitSet b)
 
UndirectedEdgeBitSet __or__ (self, UndirectedEdgeBitSet b)
 
UndirectedEdgeBitSet __sub__ (self, UndirectedEdgeBitSet b)
 
UndirectedEdgeBitSet __xor__ (self, UndirectedEdgeBitSet b)
 
None autoResizeSet (self, UndirectedEdgeId pos, int len, bool val=True)
 
None autoResizeSet (self, UndirectedEdgeId pos, bool val=True)
 
bool autoResizeTestSet (self, UndirectedEdgeId pos, bool val=True)
 
UndirectedEdgeId backId (self)
 
UndirectedEdgeId endId (self)
 
UndirectedEdgeId find_first (self)
 
UndirectedEdgeId find_last (self)
 
UndirectedEdgeId find_next (self, UndirectedEdgeId pos)
 
UndirectedEdgeBitSet flip (self, UndirectedEdgeId n, int len)
 
UndirectedEdgeBitSet flip (self, UndirectedEdgeId n)
 
UndirectedEdgeBitSet flip (self)
 
UndirectedEdgeBitSet getMapping (self, UndirectedEdgeMap map)
 
UndirectedEdgeBitSet getMapping (self, UndirectedEdgeBMap map)
 
UndirectedEdgeBitSet getMapping (self, phmap_flat_hash_map_Id_UndirectedEdgeTag_Id_UndirectedEdgeTag map)
 
UndirectedEdgeBitSet getMapping (self, UndirectedEdgeMap map, int resSize)
 
UndirectedEdgeBitSet getMapping (self, phmap_flat_hash_map_Id_UndirectedEdgeTag_Id_UndirectedEdgeTag map, int resSize)
 
UndirectedEdgeId nthSetBit (self, int n)
 
bool operator (self, UndirectedEdgeId pos)
 
UndirectedEdgeBitSet reset (self, UndirectedEdgeId n, int len)
 
UndirectedEdgeBitSet reset (self, UndirectedEdgeId n)
 
UndirectedEdgeBitSet reset (self)
 
UndirectedEdgeBitSet set (self, UndirectedEdgeId n, int len, bool val)
 
UndirectedEdgeBitSet set (self, UndirectedEdgeId n, bool val=True)
 
UndirectedEdgeBitSet set (self)
 
UndirectedEdgeBitSet subtract (self, UndirectedEdgeBitSet b, int bShiftInBlocks)
 
bool test (self, UndirectedEdgeId n)
 
bool test_set (self, UndirectedEdgeId n, bool val=True)
 
- Public Member Functions inherited from meshlib.mrmeshpy.BitSet
bool __eq__ (self, BitSet b)
 
None clear (self)
 
int count (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, bool bit)
 
None resize (self, int num_bits, bool value=False)
 
None resizeWithReserve (self, int newSize)
 
int size (self)
 

Static Public Member Functions

UndirectedEdgeId beginId ()
 

Detailed Description

Generated from:  MR::UndirectedEdgeBitSet
Aliases:  TaggedBitSet_UndirectedEdgeTag, TaggedBitSet_AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box2f_LeafTag, ColorMapAggregator_UndirectedEdgeTag_ElementBitSet, TaggedBitSet_UndirectedEdgeTag, AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box2f.LeafBitSet, ColorMapAggregator_UndirectedEdgeTag_ElementBitSet, AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box3f.LeafBitSet, AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box3f.LeafBitSet, TaggedBitSet_AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box3f_LeafTag, AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box2f.LeafBitSet

container of bits representing specific indices (faces, verts or edges)

Constructor & Destructor Documentation

◆ __init__() [1/4]

None meshlib.mrmeshpy.UndirectedEdgeBitSet.__init__ ( self,
BitSet src )
copies all bits from another BitSet (or a descending class, e.g. TaggedBitSet<U>)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [2/4]

None meshlib.mrmeshpy.UndirectedEdgeBitSet.__init__ ( self,
BitSet src )
moves all bits from another BitSet (or a descending class, e.g. TaggedBitSet<U>)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [3/4]

None meshlib.mrmeshpy.UndirectedEdgeBitSet.__init__ ( self)
Implicit default constructor.

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [4/4]

None meshlib.mrmeshpy.UndirectedEdgeBitSet.__init__ ( self,
UndirectedEdgeBitSet arg0 )
Implicit copy constructor.

Reimplemented from meshlib.mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__and__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iand__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__iand__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ior__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__ior__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __isub__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__isub__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.UndirectedEdgeBitSet.__iter__ ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ixor__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__ixor__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __or__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__or__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __sub__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__sub__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __xor__()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.__xor__ ( self,
UndirectedEdgeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.UndirectedEdgeBitSet.autoResizeSet ( self,
UndirectedEdgeId pos,
bool len = True )
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.UndirectedEdgeBitSet.autoResizeSet ( self,
UndirectedEdgeId pos,
int len,
bool val = True )
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeTestSet()

bool meshlib.mrmeshpy.UndirectedEdgeBitSet.autoResizeTestSet ( self,
UndirectedEdgeId pos,
bool val = True )
same as \\ref autoResizeSet and returns previous value of pos-bit

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ backId()

UndirectedEdgeId meshlib.mrmeshpy.UndirectedEdgeBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ beginId()

UndirectedEdgeId meshlib.mrmeshpy.UndirectedEdgeBitSet.beginId ( )
static
[beginId(), endId()) is the range of all bits in the set

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ endId()

UndirectedEdgeId meshlib.mrmeshpy.UndirectedEdgeBitSet.endId ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_first()

UndirectedEdgeId meshlib.mrmeshpy.UndirectedEdgeBitSet.find_first ( self)

◆ find_last()

UndirectedEdgeId meshlib.mrmeshpy.UndirectedEdgeBitSet.find_last ( self)
return the highest index i such as bit i is set, or npos if *this has no on bits.

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_next()

UndirectedEdgeId meshlib.mrmeshpy.UndirectedEdgeBitSet.find_next ( self,
UndirectedEdgeId pos )

◆ flip() [1/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.flip ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [2/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.flip ( self,
UndirectedEdgeId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [3/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.flip ( self,
UndirectedEdgeId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ getMapping() [1/5]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_UndirectedEdgeTag_Id_UndirectedEdgeTag map )

◆ getMapping() [2/5]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_UndirectedEdgeTag_Id_UndirectedEdgeTag map,
int resSize )

◆ getMapping() [3/5]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.getMapping ( self,
UndirectedEdgeBMap map )

◆ getMapping() [4/5]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.getMapping ( self,
UndirectedEdgeMap map )

◆ getMapping() [5/5]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.getMapping ( self,
UndirectedEdgeMap map,
int resSize )

◆ nthSetBit()

UndirectedEdgeId meshlib.mrmeshpy.UndirectedEdgeBitSet.nthSetBit ( self,
int 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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ operator()

bool meshlib.mrmeshpy.UndirectedEdgeBitSet.operator ( self,
UndirectedEdgeId pos )

◆ reset() [1/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.reset ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [2/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.reset ( self,
UndirectedEdgeId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [3/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.reset ( self,
UndirectedEdgeId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [1/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.set ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [2/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.set ( self,
UndirectedEdgeId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [3/3]

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.set ( self,
UndirectedEdgeId n,
int len,
bool val )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ subtract()

UndirectedEdgeBitSet meshlib.mrmeshpy.UndirectedEdgeBitSet.subtract ( self,
UndirectedEdgeBitSet b,
int bShiftInBlocks )
subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test()

bool meshlib.mrmeshpy.UndirectedEdgeBitSet.test ( self,
UndirectedEdgeId n )
all bits after size() we silently consider as not-set

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test_set()

bool meshlib.mrmeshpy.UndirectedEdgeBitSet.test_set ( self,
UndirectedEdgeId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.


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