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

Public Member Functions

GraphEdgeBitSet __and__ (self, GraphEdgeBitSet b)
 
GraphEdgeBitSet __iand__ (self, GraphEdgeBitSet b)
 
None __init__ (self, BitSet src)
 
None __init__ (self, BitSet src)
 
None __init__ (self)
 
None __init__ (self, GraphEdgeBitSet arg0)
 
GraphEdgeBitSet __ior__ (self, GraphEdgeBitSet b)
 
GraphEdgeBitSet __isub__ (self, GraphEdgeBitSet b)
 
typing.Iterator[GraphEdgeId__iter__ (self)
 
GraphEdgeBitSet __ixor__ (self, GraphEdgeBitSet b)
 
GraphEdgeBitSet __or__ (self, GraphEdgeBitSet b)
 
str __repr__ (self)
 
GraphEdgeBitSet __sub__ (self, GraphEdgeBitSet b)
 
GraphEdgeBitSet __xor__ (self, GraphEdgeBitSet b)
 
None autoResizeSet (self, GraphEdgeId pos, int len, bool val=True)
 
None autoResizeSet (self, GraphEdgeId pos, bool val=True)
 
bool autoResizeTestSet (self, GraphEdgeId pos, bool val=True)
 
GraphEdgeId backId (self)
 
GraphEdgeId endId (self)
 
GraphEdgeId find_first (self)
 
GraphEdgeId find_last (self)
 
GraphEdgeId find_next (self, GraphEdgeId pos)
 
GraphEdgeBitSet flip (self, GraphEdgeId n, int len)
 
GraphEdgeBitSet flip (self, GraphEdgeId n)
 
GraphEdgeBitSet flip (self)
 
GraphEdgeBitSet getMapping (self, Vector_GraphEdgeId_GraphEdgeId map)
 
GraphEdgeBitSet getMapping (self, BMap_GraphEdgeId_GraphEdgeId map)
 
GraphEdgeBitSet getMapping (self, phmap_flat_hash_map_Id_GraphEdgeTag_Id_GraphEdgeTag map)
 
GraphEdgeBitSet getMapping (self, Vector_GraphEdgeId_GraphEdgeId map, int resSize)
 
GraphEdgeBitSet getMapping (self, phmap_flat_hash_map_Id_GraphEdgeTag_Id_GraphEdgeTag map, int resSize)
 
bool intersects (self, GraphEdgeBitSet a)
 
bool is_proper_subset_of (self, GraphEdgeBitSet a)
 
bool is_subset_of (self, GraphEdgeBitSet a)
 
GraphEdgeId nthSetBit (self, int n)
 
bool operator (self, GraphEdgeId pos)
 
GraphEdgeBitSet reset (self, GraphEdgeId n, int len)
 
GraphEdgeBitSet reset (self, GraphEdgeId n)
 
GraphEdgeBitSet reset (self)
 
GraphEdgeBitSet set (self, GraphEdgeId n, int len, bool val)
 
GraphEdgeBitSet set (self, GraphEdgeId n, bool val=True)
 
GraphEdgeBitSet set (self)
 
GraphEdgeBitSet subtract (self, GraphEdgeBitSet b, int bShiftInBlocks)
 
bool test (self, GraphEdgeId n)
 
bool test_set (self, GraphEdgeId n, bool val=True)
 
- Public Member Functions inherited from 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

GraphEdgeId beginId ()
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::GraphEdgeBitSet
Aliases:  Graph.EdgeBitSet

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

Reimplemented from mrmeshpy.BitSet.

◆ __init__() [2/4]

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

Reimplemented from mrmeshpy.BitSet.

◆ __init__() [3/4]

None mrmeshpy.GraphEdgeBitSet.__init__ ( self)
Implicit default constructor.

Reimplemented from mrmeshpy.BitSet.

◆ __init__() [4/4]

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

Reimplemented from mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__and__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __iand__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__iand__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __ior__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__ior__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __isub__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__isub__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __iter__()

typing.Iterator[GraphEdgeId] mrmeshpy.GraphEdgeBitSet.__iter__ ( self)

Reimplemented from mrmeshpy.BitSet.

◆ __ixor__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__ixor__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __or__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__or__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __repr__()

str mrmeshpy.GraphEdgeBitSet.__repr__ ( self)

Reimplemented from mrmeshpy.BitSet.

◆ __sub__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__sub__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __xor__()

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.__xor__ ( self,
GraphEdgeBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ _pybind11_conduit_v1_()

mrmeshpy.GraphEdgeBitSet._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

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

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [2/2]

None mrmeshpy.GraphEdgeBitSet.autoResizeSet ( self,
GraphEdgeId 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 mrmeshpy.BitSet.

◆ autoResizeTestSet()

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

Reimplemented from mrmeshpy.BitSet.

◆ backId()

GraphEdgeId mrmeshpy.GraphEdgeBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from mrmeshpy.BitSet.

◆ beginId()

GraphEdgeId mrmeshpy.GraphEdgeBitSet.beginId ( )
static
[beginId(), endId()) is the range of all bits in the set

Reimplemented from mrmeshpy.BitSet.

◆ endId()

GraphEdgeId mrmeshpy.GraphEdgeBitSet.endId ( self)

Reimplemented from mrmeshpy.BitSet.

◆ find_first()

GraphEdgeId mrmeshpy.GraphEdgeBitSet.find_first ( self)

◆ find_last()

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

Reimplemented from mrmeshpy.BitSet.

◆ find_next()

GraphEdgeId mrmeshpy.GraphEdgeBitSet.find_next ( self,
GraphEdgeId pos )

◆ flip() [1/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.flip ( self)

Reimplemented from mrmeshpy.BitSet.

◆ flip() [2/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.flip ( self,
GraphEdgeId n )

Reimplemented from mrmeshpy.BitSet.

◆ flip() [3/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.flip ( self,
GraphEdgeId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ getMapping() [1/5]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.getMapping ( self,
BMap_GraphEdgeId_GraphEdgeId map )

◆ getMapping() [2/5]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_GraphEdgeTag_Id_GraphEdgeTag map )

◆ getMapping() [3/5]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_GraphEdgeTag_Id_GraphEdgeTag map,
int resSize )

◆ getMapping() [4/5]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.getMapping ( self,
Vector_GraphEdgeId_GraphEdgeId map )

◆ getMapping() [5/5]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.getMapping ( self,
Vector_GraphEdgeId_GraphEdgeId map,
int resSize )

◆ intersects()

bool mrmeshpy.GraphEdgeBitSet.intersects ( self,
GraphEdgeBitSet 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.

◆ is_proper_subset_of()

bool mrmeshpy.GraphEdgeBitSet.is_proper_subset_of ( self,
GraphEdgeBitSet a )
returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set and if this->count() < a.count(). Otherwise this function returns false.

◆ is_subset_of()

bool mrmeshpy.GraphEdgeBitSet.is_subset_of ( self,
GraphEdgeBitSet 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.

◆ nthSetBit()

GraphEdgeId mrmeshpy.GraphEdgeBitSet.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 mrmeshpy.BitSet.

◆ operator()

bool mrmeshpy.GraphEdgeBitSet.operator ( self,
GraphEdgeId pos )

◆ reset() [1/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.reset ( self)

Reimplemented from mrmeshpy.BitSet.

◆ reset() [2/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.reset ( self,
GraphEdgeId n )

Reimplemented from mrmeshpy.BitSet.

◆ reset() [3/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.reset ( self,
GraphEdgeId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ set() [1/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.set ( self)

Reimplemented from mrmeshpy.BitSet.

◆ set() [2/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.set ( self,
GraphEdgeId n,
bool val = True )

Reimplemented from mrmeshpy.BitSet.

◆ set() [3/3]

GraphEdgeBitSet mrmeshpy.GraphEdgeBitSet.set ( self,
GraphEdgeId n,
int len,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ subtract()

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

Reimplemented from mrmeshpy.BitSet.

◆ test()

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

Reimplemented from mrmeshpy.BitSet.

◆ test_set()

bool mrmeshpy.GraphEdgeBitSet.test_set ( self,
GraphEdgeId n,
bool val = True )

Reimplemented from mrmeshpy.BitSet.


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