MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.WholeEdgeMap Class Reference
Inheritance diagram for meshlib.WholeEdgeMap:

Public Member Functions

 WholeEdgeMap (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 WholeEdgeMap ()
 WholeEdgeMap (meshlib.WholeEdgeMap _other)
 WholeEdgeMap (long size)
 WholeEdgeMap (long size, meshlib.EdgeId val)
meshlib.WholeEdgeMap assignFromAnother (meshlib.WholeEdgeMap _other)
void assign (long count, meshlib.EdgeId val)
boolean opEqual (meshlib.WholeEdgeMap b)
boolean opNotEqual (meshlib.WholeEdgeMap b)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize)
void resize (long newSize, meshlib.EdgeId t)
void resizeNoInit (long targetSize, meshlib.ReserveMode mode)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
meshlib.EdgeId index (meshlib.UndirectedEdgeId i)
meshlib.EdgeId index_mut (meshlib.UndirectedEdgeId i)
void resizeWithReserve (long newSize)
void resizeWithReserve (long newSize, meshlib.EdgeId value)
void autoResizeSet (meshlib.UndirectedEdgeId pos, long len, meshlib.EdgeId val)
void autoResizeSet (meshlib.UndirectedEdgeId i, meshlib.EdgeId val)
meshlib.EdgeId autoResizeAt (meshlib.UndirectedEdgeId i)
void push_back_const_MR_EdgeId_ref (meshlib.EdgeId t)
void push_back_MR_EdgeId_rvalue_ref (meshlib.EdgeId t)
void pop_back ()
meshlib.EdgeId front ()
meshlib.EdgeId front_mut ()
meshlib.EdgeId back ()
meshlib.EdgeId back_mut ()
meshlib.UndirectedEdgeId beginId ()
meshlib.UndirectedEdgeId backId ()
meshlib.UndirectedEdgeId endId ()
meshlib.EdgeId data_mut ()
meshlib.EdgeId data ()
void swap (meshlib.WholeEdgeMap b)
long heapBytes ()
meshlib.std_vector_MR_EdgeId_MR_Allocator_MR_EdgeId vec ()
void setVec (meshlib.std_vector_MR_EdgeId_MR_Allocator_MR_EdgeId value)
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 ()

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<T> is indexed by size_t Generated from class MR::WholeEdgeMap.

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

Constructor & Destructor Documentation

◆ WholeEdgeMap() [1/5]

meshlib.WholeEdgeMap.WholeEdgeMap ( 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.

◆ WholeEdgeMap() [2/5]

meshlib.WholeEdgeMap.WholeEdgeMap ( )

creates empty vector

Calls MR_WholeEdgeMap_DefaultConstruct().

◆ WholeEdgeMap() [3/5]

meshlib.WholeEdgeMap.WholeEdgeMap ( meshlib.WholeEdgeMap _other)

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

Calls MR_WholeEdgeMap_ConstructFromAnother().

◆ WholeEdgeMap() [4/5]

meshlib.WholeEdgeMap.WholeEdgeMap ( long size)

creates a vector with size elements with default value Generated from constructor MR::WholeEdgeMap::WholeEdgeMap. The reference to the parameter size might be preserved in the constructed object.

Calls MR_WholeEdgeMap_Construct().

◆ WholeEdgeMap() [5/5]

meshlib.WholeEdgeMap.WholeEdgeMap ( long size,
meshlib.EdgeId val )

creates a vector with size elements with the given value Generated from constructor MR::WholeEdgeMap::WholeEdgeMap. The reference to the parameter size might be preserved in the constructed object. The reference to the parameter val might be preserved in the constructed object.

Calls MR_WholeEdgeMap_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.WholeEdgeMap.assign ( long count,
meshlib.EdgeId val )

replaces the contents with count copies of val Generated from method MR::WholeEdgeMap::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.

Calls MR_WholeEdgeMap_assign().

◆ assignFromAnother()

meshlib.WholeEdgeMap meshlib.WholeEdgeMap.assignFromAnother ( meshlib.WholeEdgeMap _other)

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

Calls MR_WholeEdgeMap_AssignFromAnother().

◆ autoResizeAt()

meshlib.EdgeId meshlib.WholeEdgeMap.autoResizeAt ( meshlib.UndirectedEdgeId i)

this accessor automatically adjusts the size of the vector Generated from method MR::WholeEdgeMap::autoResizeAt.

Calls MR_WholeEdgeMap_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.WholeEdgeMap.autoResizeSet ( meshlib.UndirectedEdgeId i,
meshlib.EdgeId val )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::WholeEdgeMap::autoResizeSet.

Calls MR_WholeEdgeMap_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.WholeEdgeMap.autoResizeSet ( meshlib.UndirectedEdgeId pos,
long len,
meshlib.EdgeId val )

sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR::WholeEdgeMap::autoResizeSet.

Calls MR_WholeEdgeMap_autoResizeSet_3().

◆ back()

meshlib.EdgeId meshlib.WholeEdgeMap.back ( )

Generated from method MR::WholeEdgeMap::back. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_back().

◆ back_mut()

meshlib.EdgeId meshlib.WholeEdgeMap.back_mut ( )

Generated from method MR::WholeEdgeMap::back. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_back_mut().

◆ backId()

meshlib.UndirectedEdgeId meshlib.WholeEdgeMap.backId ( )

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

Calls MR_WholeEdgeMap_backId().

◆ beginId()

meshlib.UndirectedEdgeId meshlib.WholeEdgeMap.beginId ( )

returns the identifier of the first element Generated from method MR::WholeEdgeMap::beginId.

Calls MR_WholeEdgeMap_beginId().

◆ capacity()

long meshlib.WholeEdgeMap.capacity ( )

Generated from method MR::WholeEdgeMap::capacity.

Calls MR_WholeEdgeMap_capacity().

◆ clear()

void meshlib.WholeEdgeMap.clear ( )

Generated from method MR::WholeEdgeMap::clear.

Calls MR_WholeEdgeMap_clear().

◆ data()

meshlib.EdgeId meshlib.WholeEdgeMap.data ( )

Generated from method MR::WholeEdgeMap::data. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_data().

◆ data_mut()

meshlib.EdgeId meshlib.WholeEdgeMap.data_mut ( )

Generated from method MR::WholeEdgeMap::data. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_data_mut().

◆ empty()

boolean meshlib.WholeEdgeMap.empty ( )

Generated from method MR::WholeEdgeMap::empty.

Calls MR_WholeEdgeMap_empty().

◆ endId()

meshlib.UndirectedEdgeId meshlib.WholeEdgeMap.endId ( )

returns backId() + 1 Generated from method MR::WholeEdgeMap::endId.

Calls MR_WholeEdgeMap_endId().

◆ front()

meshlib.EdgeId meshlib.WholeEdgeMap.front ( )

Generated from method MR::WholeEdgeMap::front. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_front().

◆ front_mut()

meshlib.EdgeId meshlib.WholeEdgeMap.front_mut ( )

Generated from method MR::WholeEdgeMap::front. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_front_mut().

◆ heapBytes()

long meshlib.WholeEdgeMap.heapBytes ( )

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

Calls MR_WholeEdgeMap_heapBytes().

◆ index()

meshlib.EdgeId meshlib.WholeEdgeMap.index ( meshlib.UndirectedEdgeId i)

Generated from method MR::WholeEdgeMap::operator[]. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_index().

◆ index_mut()

meshlib.EdgeId meshlib.WholeEdgeMap.index_mut ( meshlib.UndirectedEdgeId i)

Generated from method MR::WholeEdgeMap::operator[]. The reference to this object might be preserved in the return value.

Calls MR_WholeEdgeMap_index_mut().

◆ max_size()

long meshlib.WholeEdgeMap.max_size ( )

Generated from method MR::WholeEdgeMap::max_size.

Calls MR_WholeEdgeMap_max_size().

◆ opEqual()

boolean meshlib.WholeEdgeMap.opEqual ( meshlib.WholeEdgeMap b)

Generated from method MR::WholeEdgeMap::operator==.

Calls MR_equal_MR_WholeEdgeMap().

◆ opNotEqual()

boolean meshlib.WholeEdgeMap.opNotEqual ( meshlib.WholeEdgeMap b)

Generated from method MR::WholeEdgeMap::operator!=.

Calls MR_not_equal_MR_WholeEdgeMap().

◆ pop_back()

void meshlib.WholeEdgeMap.pop_back ( )

Generated from method MR::WholeEdgeMap::pop_back.

Calls MR_WholeEdgeMap_pop_back().

◆ push_back_const_MR_EdgeId_ref()

void meshlib.WholeEdgeMap.push_back_const_MR_EdgeId_ref ( meshlib.EdgeId t)

Generated from method MR::WholeEdgeMap::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_WholeEdgeMap_push_back_const_MR_EdgeId_ref().

◆ push_back_MR_EdgeId_rvalue_ref()

void meshlib.WholeEdgeMap.push_back_MR_EdgeId_rvalue_ref ( meshlib.EdgeId t)

Generated from method MR::WholeEdgeMap::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_WholeEdgeMap_push_back_MR_EdgeId_rvalue_ref().

◆ reserve()

void meshlib.WholeEdgeMap.reserve ( long capacity)

Generated from method MR::WholeEdgeMap::reserve.

Calls MR_WholeEdgeMap_reserve().

◆ resize() [1/2]

void meshlib.WholeEdgeMap.resize ( long newSize)

Generated from method MR::WholeEdgeMap::resize.

Calls MR_WholeEdgeMap_resize_1().

◆ resize() [2/2]

void meshlib.WholeEdgeMap.resize ( long newSize,
meshlib.EdgeId t )

Generated from method MR::WholeEdgeMap::resize.

Calls MR_WholeEdgeMap_resize_2().

◆ resizeNoInit()

void meshlib.WholeEdgeMap.resizeNoInit ( long targetSize,
meshlib.ReserveMode mode )

resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor ) Generated from method MR::WholeEdgeMap::resizeNoInit.

Calls MR_WholeEdgeMap_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.WholeEdgeMap.resizeWithReserve ( long newSize)

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

Calls MR_WholeEdgeMap_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.WholeEdgeMap.resizeWithReserve ( long newSize,
meshlib.EdgeId value )

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

Calls MR_WholeEdgeMap_resizeWithReserve_2().

◆ setVec()

void meshlib.WholeEdgeMap.setVec ( meshlib.std_vector_MR_EdgeId_MR_Allocator_MR_EdgeId value)

The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::WholeEdgeMap named vec. The reference to the parameter value might be preserved in this object in element vec.

Calls MR_WholeEdgeMap_Set_vec().

◆ shrink_to_fit()

void meshlib.WholeEdgeMap.shrink_to_fit ( )

Generated from method MR::WholeEdgeMap::shrink_to_fit.

Calls MR_WholeEdgeMap_shrink_to_fit().

◆ size()

long meshlib.WholeEdgeMap.size ( )

Generated from method MR::WholeEdgeMap::size.

Calls MR_WholeEdgeMap_size().

◆ swap()

void meshlib.WholeEdgeMap.swap ( meshlib.WholeEdgeMap b)

Generated from method MR::WholeEdgeMap::swap.

Calls MR_WholeEdgeMap_swap().

◆ vec()

The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::WholeEdgeMap named vec. The reference to this object might be preserved as the return value.

Calls MR_WholeEdgeMap_Get_vec().


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