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

Public Member Functions

EdgeBitSet __and__ (self, EdgeBitSet b)
 
EdgeBitSet __iand__ (self, EdgeBitSet b)
 
None __init__ (self, BitSet src)
 
None __init__ (self, BitSet src)
 
None __init__ (self)
 
None __init__ (self, EdgeBitSet arg0)
 
EdgeBitSet __ior__ (self, EdgeBitSet b)
 
EdgeBitSet __isub__ (self, EdgeBitSet b)
 
typing.Iterator __iter__ (self)
 
EdgeBitSet __ixor__ (self, EdgeBitSet b)
 
EdgeBitSet __or__ (self, EdgeBitSet b)
 
EdgeBitSet __sub__ (self, EdgeBitSet b)
 
EdgeBitSet __xor__ (self, EdgeBitSet b)
 
None autoResizeSet (self, Id_EdgeTag pos, int len, bool val=True)
 
None autoResizeSet (self, Id_EdgeTag pos, bool val=True)
 
bool autoResizeTestSet (self, Id_EdgeTag pos, bool val=True)
 
Id_EdgeTag backId (self)
 
Id_EdgeTag endId (self)
 
Id_EdgeTag find_first (self)
 
Id_EdgeTag find_last (self)
 
Id_EdgeTag find_next (self, Id_EdgeTag pos)
 
EdgeBitSet flip (self, Id_EdgeTag n, int len)
 
EdgeBitSet flip (self, Id_EdgeTag n)
 
EdgeBitSet flip (self)
 
EdgeBitSet getMapping (self, EdgeMap map)
 
EdgeBitSet getMapping (self, EdgeBMap map)
 
EdgeBitSet getMapping (self, phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag map)
 
EdgeBitSet getMapping (self, EdgeMap map, int resSize)
 
EdgeBitSet getMapping (self, phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag map, int resSize)
 
Id_EdgeTag nthSetBit (self, int n)
 
bool operator (self, Id_EdgeTag pos)
 
EdgeBitSet reset (self, Id_EdgeTag n, int len)
 
EdgeBitSet reset (self, Id_EdgeTag n)
 
EdgeBitSet reset (self)
 
EdgeBitSet set (self, Id_EdgeTag n, int len, bool val)
 
EdgeBitSet set (self, Id_EdgeTag n, bool val=True)
 
EdgeBitSet set (self)
 
EdgeBitSet subtract (self, EdgeBitSet b, int bShiftInBlocks)
 
bool test (self, Id_EdgeTag n)
 
bool test_set (self, Id_EdgeTag 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

Id_EdgeTag beginId ()
 

Detailed Description

Generated from:  MR::EdgeBitSet
Aliases:  TaggedBitSet_EdgeTag

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

None meshlib.mrmeshpy.EdgeBitSet.__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.EdgeBitSet.__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.EdgeBitSet.__init__ ( self)
Implicit default constructor.

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [4/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iand__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ior__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __isub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iter__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ixor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __or__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __sub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __xor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.EdgeBitSet.autoResizeSet ( self,
Id_EdgeTag 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.EdgeBitSet.autoResizeSet ( self,
Id_EdgeTag 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.EdgeBitSet.autoResizeTestSet ( self,
Id_EdgeTag pos,
bool val = True )
same as \\ref autoResizeSet and returns previous value of pos-bit

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ backId()

Id_EdgeTag meshlib.mrmeshpy.EdgeBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ beginId()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ endId()

Id_EdgeTag meshlib.mrmeshpy.EdgeBitSet.endId ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_first()

Id_EdgeTag meshlib.mrmeshpy.EdgeBitSet.find_first ( self)

◆ find_last()

Id_EdgeTag meshlib.mrmeshpy.EdgeBitSet.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()

Id_EdgeTag meshlib.mrmeshpy.EdgeBitSet.find_next ( self,
Id_EdgeTag pos )

◆ flip() [1/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.flip ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [2/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.flip ( self,
Id_EdgeTag n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [3/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.flip ( self,
Id_EdgeTag n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ getMapping() [1/5]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.getMapping ( self,
EdgeBMap map )

◆ getMapping() [2/5]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.getMapping ( self,
EdgeMap map )

◆ getMapping() [3/5]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.getMapping ( self,
EdgeMap map,
int resSize )

◆ getMapping() [4/5]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag map )

◆ getMapping() [5/5]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag map,
int resSize )

◆ nthSetBit()

Id_EdgeTag meshlib.mrmeshpy.EdgeBitSet.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.EdgeBitSet.operator ( self,
Id_EdgeTag pos )

◆ reset() [1/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.reset ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [2/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.reset ( self,
Id_EdgeTag n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [3/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.reset ( self,
Id_EdgeTag n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [1/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.set ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [2/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.set ( self,
Id_EdgeTag n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [3/3]

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.set ( self,
Id_EdgeTag n,
int len,
bool val )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ subtract()

EdgeBitSet meshlib.mrmeshpy.EdgeBitSet.subtract ( self,
EdgeBitSet 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.EdgeBitSet.test ( self,
Id_EdgeTag n )
all bits after size() we silently consider as not-set

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test_set()

bool meshlib.mrmeshpy.EdgeBitSet.test_set ( self,
Id_EdgeTag n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.


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