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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_MR_Vector2d_MR_VertId() [1/5]

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

◆ Vector_MR_Vector2d_MR_VertId() [2/5]

meshlib.Vector_MR_Vector2d_MR_VertId.Vector_MR_Vector2d_MR_VertId ( )

creates empty vector

Calls MR_Vector_MR_Vector2d_MR_VertId_DefaultConstruct().

◆ Vector_MR_Vector2d_MR_VertId() [3/5]

meshlib.Vector_MR_Vector2d_MR_VertId.Vector_MR_Vector2d_MR_VertId ( meshlib.Vector_MR_Vector2d_MR_VertId _other)

Generated from constructor MR::Vector<MR::Vector2d, MR::VertId>::Vector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Vector_MR_Vector2d_MR_VertId_ConstructFromAnother().

◆ Vector_MR_Vector2d_MR_VertId() [4/5]

meshlib.Vector_MR_Vector2d_MR_VertId.Vector_MR_Vector2d_MR_VertId ( long size)

creates a vector with size elements with default value Generated from constructor MR::Vector<MR::Vector2d, MR::VertId>::Vector. The reference to the parameter size might be preserved in the constructed object.

Calls MR_Vector_MR_Vector2d_MR_VertId_Construct().

◆ Vector_MR_Vector2d_MR_VertId() [5/5]

meshlib.Vector_MR_Vector2d_MR_VertId.Vector_MR_Vector2d_MR_VertId ( long size,
meshlib.Vector2d val )

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::Vector2d, MR::VertId>::Vector. 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_Vector_MR_Vector2d_MR_VertId_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_Vector2d_MR_VertId.assign ( long count,
meshlib.Vector2d val )

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

Calls MR_Vector_MR_Vector2d_MR_VertId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_Vector2d_MR_VertId meshlib.Vector_MR_Vector2d_MR_VertId.assignFromAnother ( meshlib.Vector_MR_Vector2d_MR_VertId _other)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Vector_MR_Vector2d_MR_VertId_AssignFromAnother().

◆ autoResizeAt()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.autoResizeAt ( meshlib.VertId i)

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::Vector2d, MR::VertId>::autoResizeAt.

Calls MR_Vector_MR_Vector2d_MR_VertId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_Vector2d_MR_VertId.autoResizeSet ( meshlib.VertId i,
meshlib.Vector2d val )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<MR::Vector2d, MR::VertId>::autoResizeSet.

Calls MR_Vector_MR_Vector2d_MR_VertId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_Vector2d_MR_VertId.autoResizeSet ( meshlib.VertId pos,
long len,
meshlib.Vector2d 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::Vector<MR::Vector2d, MR::VertId>::autoResizeSet.

Calls MR_Vector_MR_Vector2d_MR_VertId_autoResizeSet_3().

◆ back()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.back ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_back().

◆ back_mut()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.back_mut ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_back_mut().

◆ backId()

meshlib.VertId meshlib.Vector_MR_Vector2d_MR_VertId.backId ( )

returns the identifier of the back() element Generated from method MR::Vector<MR::Vector2d, MR::VertId>::backId.

Calls MR_Vector_MR_Vector2d_MR_VertId_backId().

◆ beginId()

meshlib.VertId meshlib.Vector_MR_Vector2d_MR_VertId.beginId ( )

returns the identifier of the first element Generated from method MR::Vector<MR::Vector2d, MR::VertId>::beginId.

Calls MR_Vector_MR_Vector2d_MR_VertId_beginId().

◆ capacity()

long meshlib.Vector_MR_Vector2d_MR_VertId.capacity ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::capacity.

Calls MR_Vector_MR_Vector2d_MR_VertId_capacity().

◆ clear()

void meshlib.Vector_MR_Vector2d_MR_VertId.clear ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::clear.

Calls MR_Vector_MR_Vector2d_MR_VertId_clear().

◆ data()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.data ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_data().

◆ data_mut()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.data_mut ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_Vector2d_MR_VertId.empty ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::empty.

Calls MR_Vector_MR_Vector2d_MR_VertId_empty().

◆ endId()

meshlib.VertId meshlib.Vector_MR_Vector2d_MR_VertId.endId ( )

returns backId() + 1 Generated from method MR::Vector<MR::Vector2d, MR::VertId>::endId.

Calls MR_Vector_MR_Vector2d_MR_VertId_endId().

◆ front()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.front ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_front().

◆ front_mut()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.front_mut ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_Vector2d_MR_VertId.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::Vector<MR::Vector2d, MR::VertId>::heapBytes.

Calls MR_Vector_MR_Vector2d_MR_VertId_heapBytes().

◆ index()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.index ( meshlib.VertId i)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_index().

◆ index_mut()

meshlib.Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.index_mut ( meshlib.VertId i)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_MR_Vector2d_MR_VertId_index_mut().

◆ max_size()

long meshlib.Vector_MR_Vector2d_MR_VertId.max_size ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::max_size.

Calls MR_Vector_MR_Vector2d_MR_VertId_max_size().

◆ opEqual()

boolean meshlib.Vector_MR_Vector2d_MR_VertId.opEqual ( meshlib.Vector_MR_Vector2d_MR_VertId b)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::operator==.

Calls MR_equal_MR_Vector_MR_Vector2d_MR_VertId().

◆ opNotEqual()

boolean meshlib.Vector_MR_Vector2d_MR_VertId.opNotEqual ( meshlib.Vector_MR_Vector2d_MR_VertId b)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::operator!=.

Calls MR_not_equal_MR_Vector_MR_Vector2d_MR_VertId().

◆ pop_back()

void meshlib.Vector_MR_Vector2d_MR_VertId.pop_back ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::pop_back.

Calls MR_Vector_MR_Vector2d_MR_VertId_pop_back().

◆ push_back_const_MR_Vector2d_ref()

void meshlib.Vector_MR_Vector2d_MR_VertId.push_back_const_MR_Vector2d_ref ( meshlib.Vector2d t)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_MR_Vector2d_MR_VertId_push_back_const_MR_Vector2d_ref().

◆ push_back_MR_Vector2d_rvalue_ref()

void meshlib.Vector_MR_Vector2d_MR_VertId.push_back_MR_Vector2d_rvalue_ref ( meshlib.Vector2d t)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_MR_Vector2d_MR_VertId_push_back_MR_Vector2d_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_Vector2d_MR_VertId.reserve ( long capacity)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::reserve.

Calls MR_Vector_MR_Vector2d_MR_VertId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_Vector2d_MR_VertId.resize ( long newSize)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::resize.

Calls MR_Vector_MR_Vector2d_MR_VertId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_Vector2d_MR_VertId.resize ( long newSize,
meshlib.Vector2d t )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::resize.

Calls MR_Vector_MR_Vector2d_MR_VertId_resize_2().

◆ resizeNoInit()

void meshlib.Vector_MR_Vector2d_MR_VertId.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::Vector<MR::Vector2d, MR::VertId>::resizeNoInit.

Calls MR_Vector_MR_Vector2d_MR_VertId_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_Vector2d_MR_VertId.resizeWithReserve ( long newSize)

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<MR::Vector2d, MR::VertId>::resizeWithReserve.

Calls MR_Vector_MR_Vector2d_MR_VertId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_Vector2d_MR_VertId.resizeWithReserve ( long newSize,
meshlib.Vector2d value )

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<MR::Vector2d, MR::VertId>::resizeWithReserve.

Calls MR_Vector_MR_Vector2d_MR_VertId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_Vector2d_MR_VertId.setVec ( meshlib.std_vector_MR_Vector2d_MR_Allocator_MR_Vector2d value)

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

Calls MR_Vector_MR_Vector2d_MR_VertId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_Vector2d_MR_VertId.shrink_to_fit ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::shrink_to_fit.

Calls MR_Vector_MR_Vector2d_MR_VertId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_Vector2d_MR_VertId.size ( )

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::size.

Calls MR_Vector_MR_Vector2d_MR_VertId_size().

◆ swap()

void meshlib.Vector_MR_Vector2d_MR_VertId.swap ( meshlib.Vector_MR_Vector2d_MR_VertId b)

Generated from method MR::Vector<MR::Vector2d, MR::VertId>::swap.

Calls MR_Vector_MR_Vector2d_MR_VertId_swap().

◆ vec()

meshlib.std_vector_MR_Vector2d_MR_Allocator_MR_Vector2d meshlib.Vector_MR_Vector2d_MR_VertId.vec ( )

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

Calls MR_Vector_MR_Vector2d_MR_VertId_Get_vec().


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