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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Edges() [1/5]

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

◆ Edges() [2/5]

meshlib.Edges.Edges ( )

creates empty vector

Calls MR_Edges_DefaultConstruct().

◆ Edges() [3/5]

meshlib.Edges.Edges ( meshlib.Edges _other)

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

Calls MR_Edges_ConstructFromAnother().

◆ Edges() [4/5]

meshlib.Edges.Edges ( long size)

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

Calls MR_Edges_Construct().

◆ Edges() [5/5]

meshlib.Edges.Edges ( long size,
meshlib.std_array_MR_VertId_2 val )

creates a vector with size elements with the given value Generated from constructor MR::Edges::Edges. 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_Edges_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.Edges.assign ( long count,
meshlib.std_array_MR_VertId_2 val )

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

Calls MR_Edges_assign().

◆ assignFromAnother()

meshlib.Edges meshlib.Edges.assignFromAnother ( meshlib.Edges _other)

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

Calls MR_Edges_AssignFromAnother().

◆ autoResizeAt()

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

Calls MR_Edges_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Edges.autoResizeSet ( meshlib.UndirectedEdgeId i,
meshlib.std_array_MR_VertId_2 val )

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

Calls MR_Edges_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Edges.autoResizeSet ( meshlib.UndirectedEdgeId pos,
long len,
meshlib.std_array_MR_VertId_2 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::Edges::autoResizeSet.

Calls MR_Edges_autoResizeSet_3().

◆ back()

meshlib.std_array_MR_VertId_2 meshlib.Edges.back ( )

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

Calls MR_Edges_back().

◆ back_mut()

meshlib.std_array_MR_VertId_2 meshlib.Edges.back_mut ( )

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

Calls MR_Edges_back_mut().

◆ backId()

meshlib.UndirectedEdgeId meshlib.Edges.backId ( )

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

Calls MR_Edges_backId().

◆ beginId()

meshlib.UndirectedEdgeId meshlib.Edges.beginId ( )

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

Calls MR_Edges_beginId().

◆ capacity()

long meshlib.Edges.capacity ( )

Generated from method MR::Edges::capacity.

Calls MR_Edges_capacity().

◆ clear()

void meshlib.Edges.clear ( )

Generated from method MR::Edges::clear.

Calls MR_Edges_clear().

◆ data()

meshlib.std_array_MR_VertId_2 meshlib.Edges.data ( )

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

Calls MR_Edges_data().

◆ data_mut()

meshlib.std_array_MR_VertId_2 meshlib.Edges.data_mut ( )

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

Calls MR_Edges_data_mut().

◆ empty()

boolean meshlib.Edges.empty ( )

Generated from method MR::Edges::empty.

Calls MR_Edges_empty().

◆ endId()

meshlib.UndirectedEdgeId meshlib.Edges.endId ( )

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

Calls MR_Edges_endId().

◆ front()

meshlib.std_array_MR_VertId_2 meshlib.Edges.front ( )

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

Calls MR_Edges_front().

◆ front_mut()

meshlib.std_array_MR_VertId_2 meshlib.Edges.front_mut ( )

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

Calls MR_Edges_front_mut().

◆ heapBytes()

long meshlib.Edges.heapBytes ( )

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

Calls MR_Edges_heapBytes().

◆ index()

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

Calls MR_Edges_index().

◆ index_mut()

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

Calls MR_Edges_index_mut().

◆ max_size()

long meshlib.Edges.max_size ( )

Generated from method MR::Edges::max_size.

Calls MR_Edges_max_size().

◆ opEqual()

boolean meshlib.Edges.opEqual ( meshlib.Edges b)

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

Calls MR_equal_MR_Edges().

◆ opNotEqual()

boolean meshlib.Edges.opNotEqual ( meshlib.Edges b)

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

Calls MR_not_equal_MR_Edges().

◆ pop_back()

void meshlib.Edges.pop_back ( )

Generated from method MR::Edges::pop_back.

Calls MR_Edges_pop_back().

◆ push_back_const_std_array_MR_VertId_2_ref()

void meshlib.Edges.push_back_const_std_array_MR_VertId_2_ref ( meshlib.std_array_MR_VertId_2 t)

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

Calls MR_Edges_push_back_const_std_array_MR_VertId_2_ref().

◆ push_back_std_array_MR_VertId_2_rvalue_ref()

void meshlib.Edges.push_back_std_array_MR_VertId_2_rvalue_ref ( meshlib.std_array_MR_VertId_2 t)

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

Calls MR_Edges_push_back_std_array_MR_VertId_2_rvalue_ref().

◆ reserve()

void meshlib.Edges.reserve ( long capacity)

Generated from method MR::Edges::reserve.

Calls MR_Edges_reserve().

◆ resize() [1/2]

void meshlib.Edges.resize ( long newSize)

Generated from method MR::Edges::resize.

Calls MR_Edges_resize_1().

◆ resize() [2/2]

void meshlib.Edges.resize ( long newSize,
meshlib.std_array_MR_VertId_2 t )

Generated from method MR::Edges::resize.

Calls MR_Edges_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Edges.resizeWithReserve ( long newSize)

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

Calls MR_Edges_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Edges.resizeWithReserve ( long newSize,
meshlib.std_array_MR_VertId_2 value )

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

Calls MR_Edges_resizeWithReserve_2().

◆ setVec()

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

Calls MR_Edges_Set_vec().

◆ shrink_to_fit()

void meshlib.Edges.shrink_to_fit ( )

Generated from method MR::Edges::shrink_to_fit.

Calls MR_Edges_shrink_to_fit().

◆ size()

long meshlib.Edges.size ( )

Generated from method MR::Edges::size.

Calls MR_Edges_size().

◆ swap()

void meshlib.Edges.swap ( meshlib.Edges b)

Generated from method MR::Edges::swap.

Calls MR_Edges_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::Edges named vec. The reference to this object might be preserved as the return value.

Calls MR_Edges_Get_vec().


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