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

Public Member Functions

 Vector_std_array_float_33_MR_VertId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Vector_std_array_float_33_MR_VertId ()
 Vector_std_array_float_33_MR_VertId (meshlib.Vector_std_array_float_33_MR_VertId _other)
 Vector_std_array_float_33_MR_VertId (long size)
 Vector_std_array_float_33_MR_VertId (long size, meshlib.std_array_float_33 val)
meshlib.Vector_std_array_float_33_MR_VertId assignFromAnother (meshlib.Vector_std_array_float_33_MR_VertId _other)
void assign (long count, meshlib.std_array_float_33 val)
boolean opEqual (meshlib.Vector_std_array_float_33_MR_VertId b)
boolean opNotEqual (meshlib.Vector_std_array_float_33_MR_VertId b)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize)
void resize (long newSize, meshlib.std_array_float_33 t)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
meshlib.std_array_float_33 index (meshlib.VertId i)
meshlib.std_array_float_33 index_mut (meshlib.VertId i)
void resizeWithReserve (long newSize)
void resizeWithReserve (long newSize, meshlib.std_array_float_33 value)
void autoResizeSet (meshlib.VertId pos, long len, meshlib.std_array_float_33 val)
void autoResizeSet (meshlib.VertId i, meshlib.std_array_float_33 val)
meshlib.std_array_float_33 autoResizeAt (meshlib.VertId i)
void push_back_const_std_array_float_33_ref (meshlib.std_array_float_33 t)
void push_back_std_array_float_33_rvalue_ref (meshlib.std_array_float_33 t)
void pop_back ()
meshlib.std_array_float_33 front ()
meshlib.std_array_float_33 front_mut ()
meshlib.std_array_float_33 back ()
meshlib.std_array_float_33 back_mut ()
meshlib.VertId beginId ()
meshlib.VertId backId ()
meshlib.VertId endId ()
meshlib.std_array_float_33 data_mut ()
meshlib.std_array_float_33 data ()
void swap (meshlib.Vector_std_array_float_33_MR_VertId b)
long heapBytes ()
meshlib.std_vector_std_array_float_33_MR_Allocator_std_array_float_33 vec ()
void setVec (meshlib.std_vector_std_array_float_33_MR_Allocator_std_array_float_33 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<std::array<float, 33>, MR::VertId>.

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

Constructor & Destructor Documentation

◆ Vector_std_array_float_33_MR_VertId() [1/5]

meshlib.Vector_std_array_float_33_MR_VertId.Vector_std_array_float_33_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_std_array_float_33_MR_VertId() [2/5]

meshlib.Vector_std_array_float_33_MR_VertId.Vector_std_array_float_33_MR_VertId ( )

creates empty vector

Calls MR_Vector_std_array_float_33_MR_VertId_DefaultConstruct().

◆ Vector_std_array_float_33_MR_VertId() [3/5]

meshlib.Vector_std_array_float_33_MR_VertId.Vector_std_array_float_33_MR_VertId ( meshlib.Vector_std_array_float_33_MR_VertId _other)

Generated from constructor MR::Vector<std::array<float, 33>, 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_std_array_float_33_MR_VertId_ConstructFromAnother().

◆ Vector_std_array_float_33_MR_VertId() [4/5]

meshlib.Vector_std_array_float_33_MR_VertId.Vector_std_array_float_33_MR_VertId ( long size)

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

Calls MR_Vector_std_array_float_33_MR_VertId_Construct().

◆ Vector_std_array_float_33_MR_VertId() [5/5]

meshlib.Vector_std_array_float_33_MR_VertId.Vector_std_array_float_33_MR_VertId ( long size,
meshlib.std_array_float_33 val )

creates a vector with size elements with the given value Generated from constructor MR::Vector<std::array<float, 33>, 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_std_array_float_33_MR_VertId_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.Vector_std_array_float_33_MR_VertId.assign ( long count,
meshlib.std_array_float_33 val )

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

Calls MR_Vector_std_array_float_33_MR_VertId_assign().

◆ assignFromAnother()

meshlib.Vector_std_array_float_33_MR_VertId meshlib.Vector_std_array_float_33_MR_VertId.assignFromAnother ( meshlib.Vector_std_array_float_33_MR_VertId _other)

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

Calls MR_Vector_std_array_float_33_MR_VertId_AssignFromAnother().

◆ autoResizeAt()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.autoResizeAt ( meshlib.VertId i)

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

Calls MR_Vector_std_array_float_33_MR_VertId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_std_array_float_33_MR_VertId.autoResizeSet ( meshlib.VertId i,
meshlib.std_array_float_33 val )

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

Calls MR_Vector_std_array_float_33_MR_VertId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_std_array_float_33_MR_VertId.autoResizeSet ( meshlib.VertId pos,
long len,
meshlib.std_array_float_33 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<std::array<float, 33>, MR::VertId>::autoResizeSet.

Calls MR_Vector_std_array_float_33_MR_VertId_autoResizeSet_3().

◆ back()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.back ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_back().

◆ back_mut()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.back_mut ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_back_mut().

◆ backId()

meshlib.VertId meshlib.Vector_std_array_float_33_MR_VertId.backId ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_backId().

◆ beginId()

meshlib.VertId meshlib.Vector_std_array_float_33_MR_VertId.beginId ( )

returns the identifier of the first element Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::beginId.

Calls MR_Vector_std_array_float_33_MR_VertId_beginId().

◆ capacity()

long meshlib.Vector_std_array_float_33_MR_VertId.capacity ( )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::capacity.

Calls MR_Vector_std_array_float_33_MR_VertId_capacity().

◆ clear()

void meshlib.Vector_std_array_float_33_MR_VertId.clear ( )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::clear.

Calls MR_Vector_std_array_float_33_MR_VertId_clear().

◆ data()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.data ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_data().

◆ data_mut()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.data_mut ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_data_mut().

◆ empty()

boolean meshlib.Vector_std_array_float_33_MR_VertId.empty ( )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::empty.

Calls MR_Vector_std_array_float_33_MR_VertId_empty().

◆ endId()

meshlib.VertId meshlib.Vector_std_array_float_33_MR_VertId.endId ( )

returns backId() + 1 Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::endId.

Calls MR_Vector_std_array_float_33_MR_VertId_endId().

◆ front()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.front ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_front().

◆ front_mut()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.front_mut ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_front_mut().

◆ heapBytes()

long meshlib.Vector_std_array_float_33_MR_VertId.heapBytes ( )

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

Calls MR_Vector_std_array_float_33_MR_VertId_heapBytes().

◆ index()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.index ( meshlib.VertId i)

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

Calls MR_Vector_std_array_float_33_MR_VertId_index().

◆ index_mut()

meshlib.std_array_float_33 meshlib.Vector_std_array_float_33_MR_VertId.index_mut ( meshlib.VertId i)

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

Calls MR_Vector_std_array_float_33_MR_VertId_index_mut().

◆ max_size()

long meshlib.Vector_std_array_float_33_MR_VertId.max_size ( )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::max_size.

Calls MR_Vector_std_array_float_33_MR_VertId_max_size().

◆ opEqual()

boolean meshlib.Vector_std_array_float_33_MR_VertId.opEqual ( meshlib.Vector_std_array_float_33_MR_VertId b)

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::operator==.

Calls MR_equal_MR_Vector_std_array_float_33_MR_VertId().

◆ opNotEqual()

boolean meshlib.Vector_std_array_float_33_MR_VertId.opNotEqual ( meshlib.Vector_std_array_float_33_MR_VertId b)

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::operator!=.

Calls MR_not_equal_MR_Vector_std_array_float_33_MR_VertId().

◆ pop_back()

void meshlib.Vector_std_array_float_33_MR_VertId.pop_back ( )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::pop_back.

Calls MR_Vector_std_array_float_33_MR_VertId_pop_back().

◆ push_back_const_std_array_float_33_ref()

void meshlib.Vector_std_array_float_33_MR_VertId.push_back_const_std_array_float_33_ref ( meshlib.std_array_float_33 t)

Generated from method MR::Vector<std::array<float, 33>, 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_std_array_float_33_MR_VertId_push_back_const_std_array_float_33_ref().

◆ push_back_std_array_float_33_rvalue_ref()

void meshlib.Vector_std_array_float_33_MR_VertId.push_back_std_array_float_33_rvalue_ref ( meshlib.std_array_float_33 t)

Generated from method MR::Vector<std::array<float, 33>, 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_std_array_float_33_MR_VertId_push_back_std_array_float_33_rvalue_ref().

◆ reserve()

void meshlib.Vector_std_array_float_33_MR_VertId.reserve ( long capacity)

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::reserve.

Calls MR_Vector_std_array_float_33_MR_VertId_reserve().

◆ resize() [1/2]

void meshlib.Vector_std_array_float_33_MR_VertId.resize ( long newSize)

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::resize.

Calls MR_Vector_std_array_float_33_MR_VertId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_std_array_float_33_MR_VertId.resize ( long newSize,
meshlib.std_array_float_33 t )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::resize.

Calls MR_Vector_std_array_float_33_MR_VertId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_std_array_float_33_MR_VertId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_std_array_float_33_MR_VertId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_std_array_float_33_MR_VertId.resizeWithReserve ( long newSize,
meshlib.std_array_float_33 value )

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

Calls MR_Vector_std_array_float_33_MR_VertId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_std_array_float_33_MR_VertId.setVec ( meshlib.std_vector_std_array_float_33_MR_Allocator_std_array_float_33 value)

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

Calls MR_Vector_std_array_float_33_MR_VertId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_std_array_float_33_MR_VertId.shrink_to_fit ( )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::shrink_to_fit.

Calls MR_Vector_std_array_float_33_MR_VertId_shrink_to_fit().

◆ size()

long meshlib.Vector_std_array_float_33_MR_VertId.size ( )

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::size.

Calls MR_Vector_std_array_float_33_MR_VertId_size().

◆ swap()

void meshlib.Vector_std_array_float_33_MR_VertId.swap ( meshlib.Vector_std_array_float_33_MR_VertId b)

Generated from method MR::Vector<std::array<float, 33>, MR::VertId>::swap.

Calls MR_Vector_std_array_float_33_MR_VertId_swap().

◆ vec()

meshlib.std_vector_std_array_float_33_MR_Allocator_std_array_float_33 meshlib.Vector_std_array_float_33_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<std::array<float, 33>, MR::VertId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_std_array_float_33_MR_VertId_Get_vec().


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