MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.FaceBitSet:

Public Member Functions

 FaceBitSet (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FaceBitSet ()
 FaceBitSet (meshlib.FaceBitSet _other)
 FaceBitSet (long numBits, java.lang.Boolean fillValue)
meshlib.FaceBitSet assignFromAnother (meshlib.FaceBitSet _other)
meshlib.FaceBitSet set (meshlib.FaceId n, long len, boolean val)
meshlib.FaceBitSet set (meshlib.FaceId n, boolean val)
meshlib.FaceBitSet set (meshlib.FaceId n)
meshlib.FaceBitSet set ()
boolean atomicTestSet (meshlib.FaceId n)
meshlib.FaceBitSet reset (meshlib.FaceId n, long len)
meshlib.FaceBitSet reset (meshlib.FaceId n)
meshlib.FaceBitSet reset ()
meshlib.FaceBitSet flip (meshlib.FaceId n, long len)
meshlib.FaceBitSet flip (meshlib.FaceId n)
meshlib.FaceBitSet flip ()
boolean test (meshlib.FaceId n)
boolean test_set (meshlib.FaceId n, java.lang.Boolean val)
meshlib.FaceId find_first ()
meshlib.FaceId find_next (meshlib.FaceId pos)
meshlib.FaceId find_last ()
meshlib.FaceId find_first_not_set ()
meshlib.FaceId find_next_not_set (meshlib.FaceId pos)
meshlib.FaceId find_last_not_set ()
meshlib.FaceId nthSetBit (long n)
meshlib.FaceBitSet bitand_assign (meshlib.FaceBitSet b)
meshlib.FaceBitSet bitor_assign (meshlib.FaceBitSet b)
meshlib.FaceBitSet xor_assign (meshlib.FaceBitSet b)
meshlib.FaceBitSet sub_assign (meshlib.FaceBitSet b)
meshlib.FaceBitSet subtract (meshlib.FaceBitSet b, int bShiftInBlocks)
boolean is_subset_of (meshlib.FaceBitSet a)
boolean intersects (meshlib.FaceBitSet a)
void autoResizeSet (meshlib.FaceId pos, long len, java.lang.Boolean val)
void autoResizeSet (meshlib.FaceId pos, java.lang.Boolean val)
boolean autoResizeTestSet (meshlib.FaceId pos, java.lang.Boolean val)
meshlib.FaceBitSet getMapping (meshlib.FaceMap map)
meshlib.FaceBitSet getMapping (meshlib.FaceBMap map)
meshlib.FaceBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_st__dda91c58 map)
meshlib.FaceBitSet getMapping (meshlib.FaceMap map, long resSize)
meshlib.FaceBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_st__dda91c58 map, long resSize)
meshlib.FaceId backId ()
meshlib.FaceId endId ()
void reserve (long numBits)
void resize (long numBits, java.lang.Boolean fillValue)
void clear ()
void shrink_to_fit ()
boolean empty ()
long size ()
long num_blocks ()
long capacity ()
boolean uncheckedTest (long n)
boolean uncheckedTestSet (long n, java.lang.Boolean val)
void reverse ()
void push_back (boolean val)
void pop_back ()
meshlib.std_vector_uint64_t_MR_Allocator_uint64_t bits ()
boolean all ()
boolean any ()
boolean none ()
long count ()
meshlib.BitSet_Counts countBitsAndBlocks (java.lang.Long maxBits)
void resizeWithReserve (long newSize)
long heapBytes ()
meshlib.BitSet upcastToBitSet ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.FaceBitSet construct_1_const_MR_BitSet_ref (meshlib.BitSet src)
static meshlib.FaceBitSet construct_1_MR_BitSet_rvalue_ref (meshlib.BitSet src)
static meshlib.FaceId beginId ()
static meshlib.BitSet fromBlocks (meshlib.std_vector_uint64_t_MR_Allocator_uint64_t blocks)
static long bits_per_block ()
static long npos ()
static meshlib.FaceBitSet staticDowncastFromBitSet (meshlib.BitSet object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

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::FaceBitSet. Base classes: Direct: (non-virtual) MR::BitSet

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ FaceBitSet() [1/4]

meshlib.FaceBitSet.FaceBitSet ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ FaceBitSet() [2/4]

meshlib.FaceBitSet.FaceBitSet ( )

Constructs an empty (default-constructed) instance.

Calls MR_FaceBitSet_DefaultConstruct().

◆ FaceBitSet() [3/4]

meshlib.FaceBitSet.FaceBitSet ( meshlib.FaceBitSet _other)

Generated from constructor MR::FaceBitSet::FaceBitSet. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_FaceBitSet_ConstructFromAnother().

◆ FaceBitSet() [4/4]

meshlib.FaceBitSet.FaceBitSet ( long numBits,
java.lang.Boolean fillValue )

creates bitset of given size filled with given value Generated from constructor MR::FaceBitSet::FaceBitSet. The reference to the parameter numBits might be preserved in the constructed object.

Calls MR_FaceBitSet_Construct_2().

Member Function Documentation

◆ all()

boolean meshlib.FaceBitSet.all ( )

returns true if all bits in this container are set Generated from method MR::FaceBitSet::all.

Calls MR_FaceBitSet_all().

◆ any()

boolean meshlib.FaceBitSet.any ( )

returns true if at least one bits in this container is set Generated from method MR::FaceBitSet::any.

Calls MR_FaceBitSet_any().

◆ assignFromAnother()

meshlib.FaceBitSet meshlib.FaceBitSet.assignFromAnother ( meshlib.FaceBitSet _other)

Generated from method MR::FaceBitSet::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_FaceBitSet_AssignFromAnother().

◆ atomicTestSet()

boolean meshlib.FaceBitSet.atomicTestSet ( meshlib.FaceId n)

Generated from method MR::FaceBitSet::atomicTestSet.

Calls MR_FaceBitSet_atomicTestSet().

◆ autoResizeSet() [1/2]

void meshlib.FaceBitSet.autoResizeSet ( meshlib.FaceId pos,
java.lang.Boolean val )

Generated from method MR::FaceBitSet::autoResizeSet.

Calls MR_FaceBitSet_autoResizeSet().

◆ autoResizeSet() [2/2]

void meshlib.FaceBitSet.autoResizeSet ( meshlib.FaceId pos,
long len,
java.lang.Boolean val )

Generated from method MR::FaceBitSet::autoResizeSet.

Calls MR_FaceBitSet_autoResizeSet_range().

◆ autoResizeTestSet()

boolean meshlib.FaceBitSet.autoResizeTestSet ( meshlib.FaceId pos,
java.lang.Boolean val )

Generated from method MR::FaceBitSet::autoResizeTestSet.

Calls MR_FaceBitSet_autoResizeTestSet().

◆ backId()

meshlib.FaceId meshlib.FaceBitSet.backId ( )

returns the identifier of the back() element Generated from method MR::FaceBitSet::backId.

Calls MR_FaceBitSet_backId().

◆ beginId()

meshlib.FaceId meshlib.FaceBitSet.beginId ( )
static

[beginId(), endId()) is the range of all bits in the set Generated from method MR::FaceBitSet::beginId.

Calls MR_FaceBitSet_beginId().

◆ bitand_assign()

meshlib.FaceBitSet meshlib.FaceBitSet.bitand_assign ( meshlib.FaceBitSet b)

Generated from method MR::FaceBitSet::operator&=. The reference to this object might be preserved in the return value.

Calls MR_FaceBitSet_bitand_assign().

◆ bitor_assign()

meshlib.FaceBitSet meshlib.FaceBitSet.bitor_assign ( meshlib.FaceBitSet b)

Generated from method MR::FaceBitSet::operator|=. The reference to this object might be preserved in the return value.

Calls MR_FaceBitSet_bitor_assign().

◆ bits()

read-only access to all bits stored as a vector of uint64 blocks Generated from method MR::FaceBitSet::bits.

Calls MR_FaceBitSet_bits().

◆ bits_per_block()

long meshlib.FaceBitSet.bits_per_block ( )
static

Returns a pointer to a member variable of class MR::FaceBitSet named bits_per_block.

Calls MR_FaceBitSet_Get_bits_per_block().

◆ capacity()

long meshlib.FaceBitSet.capacity ( )

Generated from method MR::FaceBitSet::capacity.

Calls MR_FaceBitSet_capacity().

◆ clear()

void meshlib.FaceBitSet.clear ( )

Generated from method MR::FaceBitSet::clear.

Calls MR_FaceBitSet_clear().

◆ construct_1_const_MR_BitSet_ref()

meshlib.FaceBitSet meshlib.FaceBitSet.construct_1_const_MR_BitSet_ref ( meshlib.BitSet src)
static

copies all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::FaceBitSet::FaceBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_FaceBitSet_Construct_1_const_MR_BitSet_ref().

◆ construct_1_MR_BitSet_rvalue_ref()

meshlib.FaceBitSet meshlib.FaceBitSet.construct_1_MR_BitSet_rvalue_ref ( meshlib.BitSet src)
static

moves all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::FaceBitSet::FaceBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_FaceBitSet_Construct_1_MR_BitSet_rvalue_ref().

◆ count()

long meshlib.FaceBitSet.count ( )

computes the number of set bits in the whole set Generated from method MR::FaceBitSet::count.

Calls MR_FaceBitSet_count().

◆ countBitsAndBlocks()

meshlib.BitSet_Counts meshlib.FaceBitSet.countBitsAndBlocks ( java.lang.Long maxBits)

computes the numbers of set bits and of non-empty blocks, stopping as soon as the set bits exceed maxBits; both numbers are then partial, which makes a size test of a large set cheap Generated from method MR::FaceBitSet::countBitsAndBlocks.

Calls MR_FaceBitSet_countBitsAndBlocks().

◆ empty()

boolean meshlib.FaceBitSet.empty ( )

Generated from method MR::FaceBitSet::empty.

Calls MR_FaceBitSet_empty().

◆ endId()

meshlib.FaceId meshlib.FaceBitSet.endId ( )

Generated from method MR::FaceBitSet::endId.

Calls MR_FaceBitSet_endId().

◆ find_first()

meshlib.FaceId meshlib.FaceBitSet.find_first ( )

Generated from method MR::FaceBitSet::find_first.

Calls MR_FaceBitSet_find_first().

◆ find_first_not_set()

meshlib.FaceId meshlib.FaceBitSet.find_first_not_set ( )

Generated from method MR::FaceBitSet::find_first_not_set.

Calls MR_FaceBitSet_find_first_not_set().

◆ find_last()

meshlib.FaceId meshlib.FaceBitSet.find_last ( )

Generated from method MR::FaceBitSet::find_last.

Calls MR_FaceBitSet_find_last().

◆ find_last_not_set()

meshlib.FaceId meshlib.FaceBitSet.find_last_not_set ( )

Generated from method MR::FaceBitSet::find_last_not_set.

Calls MR_FaceBitSet_find_last_not_set().

◆ find_next()

meshlib.FaceId meshlib.FaceBitSet.find_next ( meshlib.FaceId pos)

Generated from method MR::FaceBitSet::find_next.

Calls MR_FaceBitSet_find_next().

◆ find_next_not_set()

meshlib.FaceId meshlib.FaceBitSet.find_next_not_set ( meshlib.FaceId pos)

Generated from method MR::FaceBitSet::find_next_not_set.

Calls MR_FaceBitSet_find_next_not_set().

◆ flip() [1/3]

meshlib.FaceBitSet meshlib.FaceBitSet.flip ( )

Generated from method MR::FaceBitSet::flip.

Calls MR_FaceBitSet_flip_0().

◆ flip() [2/3]

meshlib.FaceBitSet meshlib.FaceBitSet.flip ( meshlib.FaceId n)

Generated from method MR::FaceBitSet::flip.

Calls MR_FaceBitSet_flip_1().

◆ flip() [3/3]

meshlib.FaceBitSet meshlib.FaceBitSet.flip ( meshlib.FaceId n,
long len )

Generated from method MR::FaceBitSet::flip.

Calls MR_FaceBitSet_flip_2().

◆ fromBlocks()

meshlib.BitSet meshlib.FaceBitSet.fromBlocks ( meshlib.std_vector_uint64_t_MR_Allocator_uint64_t blocks)
static

creates bitset from the given blocks of bits Generated from method MR::FaceBitSet::fromBlocks.

Calls MR_FaceBitSet_fromBlocks().

◆ getMapping() [1/5]

meshlib.FaceBitSet meshlib.FaceBitSet.getMapping ( meshlib.FaceBMap map)

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_1_MR_FaceBMap().

◆ getMapping() [2/5]

meshlib.FaceBitSet meshlib.FaceBitSet.getMapping ( meshlib.FaceMap map)

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_1_MR_FaceMap().

◆ getMapping() [3/5]

meshlib.FaceBitSet meshlib.FaceBitSet.getMapping ( meshlib.FaceMap map,
long resSize )

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_2_MR_FaceMap().

◆ getMapping() [4/5]

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_1_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId().

◆ getMapping() [5/5]

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_2_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId().

◆ heapBytes()

long meshlib.FaceBitSet.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::FaceBitSet::heapBytes.

Calls MR_FaceBitSet_heapBytes().

◆ intersects()

boolean meshlib.FaceBitSet.intersects ( meshlib.FaceBitSet 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::FaceBitSet::intersects.

Calls MR_FaceBitSet_intersects().

◆ is_subset_of()

boolean meshlib.FaceBitSet.is_subset_of ( meshlib.FaceBitSet 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::FaceBitSet::is_subset_of.

Calls MR_FaceBitSet_is_subset_of().

◆ none()

boolean meshlib.FaceBitSet.none ( )

returns true if all bits in this container are reset Generated from method MR::FaceBitSet::none.

Calls MR_FaceBitSet_none().

◆ npos()

long meshlib.FaceBitSet.npos ( )
static

Returns a pointer to a member variable of class MR::FaceBitSet named npos.

Calls MR_FaceBitSet_Get_npos().

◆ nthSetBit()

meshlib.FaceId meshlib.FaceBitSet.nthSetBit ( long 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::FaceBitSet::nthSetBit.

Calls MR_FaceBitSet_nthSetBit().

◆ num_blocks()

long meshlib.FaceBitSet.num_blocks ( )

Generated from method MR::FaceBitSet::num_blocks.

Calls MR_FaceBitSet_num_blocks().

◆ pop_back()

void meshlib.FaceBitSet.pop_back ( )

removes last bit from the container, decreasing its size on 1 Generated from method MR::FaceBitSet::pop_back.

Calls MR_FaceBitSet_pop_back().

◆ push_back()

void meshlib.FaceBitSet.push_back ( boolean val)

adds one more bit with the given value in the container, increasing its size on 1 Generated from method MR::FaceBitSet::push_back.

Calls MR_FaceBitSet_push_back().

◆ reserve()

void meshlib.FaceBitSet.reserve ( long numBits)

Generated from method MR::FaceBitSet::reserve.

Calls MR_FaceBitSet_reserve().

◆ reset() [1/3]

meshlib.FaceBitSet meshlib.FaceBitSet.reset ( )

Generated from method MR::FaceBitSet::reset.

Calls MR_FaceBitSet_reset_0().

◆ reset() [2/3]

meshlib.FaceBitSet meshlib.FaceBitSet.reset ( meshlib.FaceId n)

Generated from method MR::FaceBitSet::reset.

Calls MR_FaceBitSet_reset_1().

◆ reset() [3/3]

meshlib.FaceBitSet meshlib.FaceBitSet.reset ( meshlib.FaceId n,
long len )

Generated from method MR::FaceBitSet::reset.

Calls MR_FaceBitSet_reset_2().

◆ resize()

void meshlib.FaceBitSet.resize ( long numBits,
java.lang.Boolean fillValue )

Generated from method MR::FaceBitSet::resize.

Calls MR_FaceBitSet_resize().

◆ resizeWithReserve()

void meshlib.FaceBitSet.resizeWithReserve ( long newSize)

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::FaceBitSet::resizeWithReserve.

Calls MR_FaceBitSet_resizeWithReserve().

◆ reverse()

void meshlib.FaceBitSet.reverse ( )

changes the order of bits on the opposite Generated from method MR::FaceBitSet::reverse.

Calls MR_FaceBitSet_reverse().

◆ set() [1/4]

meshlib.FaceBitSet meshlib.FaceBitSet.set ( )

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set_all().

◆ set() [2/4]

meshlib.FaceBitSet meshlib.FaceBitSet.set ( meshlib.FaceId n)

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set_bit().

◆ set() [3/4]

meshlib.FaceBitSet meshlib.FaceBitSet.set ( meshlib.FaceId n,
boolean val )

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set().

◆ set() [4/4]

meshlib.FaceBitSet meshlib.FaceBitSet.set ( meshlib.FaceId n,
long len,
boolean val )

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set_range().

◆ shrink_to_fit()

void meshlib.FaceBitSet.shrink_to_fit ( )

Generated from method MR::FaceBitSet::shrink_to_fit.

Calls MR_FaceBitSet_shrink_to_fit().

◆ size()

long meshlib.FaceBitSet.size ( )

Generated from method MR::FaceBitSet::size.

Calls MR_FaceBitSet_size().

◆ staticDowncastFromBitSet()

meshlib.FaceBitSet meshlib.FaceBitSet.staticDowncastFromBitSet ( meshlib.BitSet object)
static

Static downcast from the base class MR::BitSet. Undefined behavior if the object isn't actually a FaceBitSet. The result refers to object.

Calls MR_FaceBitSet_MutableStaticDowncastFrom_MR_BitSet().

◆ sub_assign()

meshlib.FaceBitSet meshlib.FaceBitSet.sub_assign ( meshlib.FaceBitSet b)

Generated from method MR::FaceBitSet::operator-=. The reference to this object might be preserved in the return value.

Calls MR_FaceBitSet_sub_assign().

◆ subtract()

meshlib.FaceBitSet meshlib.FaceBitSet.subtract ( meshlib.FaceBitSet b,
int bShiftInBlocks )

subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block Generated from method MR::FaceBitSet::subtract.

Calls MR_FaceBitSet_subtract().

◆ test()

boolean meshlib.FaceBitSet.test ( meshlib.FaceId n)

Generated from method MR::FaceBitSet::test.

Calls MR_FaceBitSet_test().

◆ test_set()

boolean meshlib.FaceBitSet.test_set ( meshlib.FaceId n,
java.lang.Boolean val )

Generated from method MR::FaceBitSet::test_set.

Calls MR_FaceBitSet_test_set().

◆ uncheckedTest()

boolean meshlib.FaceBitSet.uncheckedTest ( long n)

Generated from method MR::FaceBitSet::uncheckedTest.

Calls MR_FaceBitSet_uncheckedTest().

◆ uncheckedTestSet()

boolean meshlib.FaceBitSet.uncheckedTestSet ( long n,
java.lang.Boolean val )

Generated from method MR::FaceBitSet::uncheckedTestSet.

Calls MR_FaceBitSet_uncheckedTestSet().

◆ upcastToBitSet()

meshlib.BitSet meshlib.FaceBitSet.upcastToBitSet ( )

Upcasts to the base class MR::BitSet. The result refers to this object.

Calls MR_FaceBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

meshlib.FaceBitSet meshlib.FaceBitSet.xor_assign ( meshlib.FaceBitSet b)

Generated from method MR::FaceBitSet::operator^=. The reference to this object might be preserved in the return value.

Calls MR_FaceBitSet_xor_assign().


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