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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_MR_VoxelId_MR_FaceId() [1/5]

meshlib.Vector_MR_VoxelId_MR_FaceId.Vector_MR_VoxelId_MR_FaceId ( 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_VoxelId_MR_FaceId() [2/5]

meshlib.Vector_MR_VoxelId_MR_FaceId.Vector_MR_VoxelId_MR_FaceId ( )

creates empty vector

Calls MR_Vector_MR_VoxelId_MR_FaceId_DefaultConstruct().

◆ Vector_MR_VoxelId_MR_FaceId() [3/5]

meshlib.Vector_MR_VoxelId_MR_FaceId.Vector_MR_VoxelId_MR_FaceId ( meshlib.Vector_MR_VoxelId_MR_FaceId _other)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_ConstructFromAnother().

◆ Vector_MR_VoxelId_MR_FaceId() [4/5]

meshlib.Vector_MR_VoxelId_MR_FaceId.Vector_MR_VoxelId_MR_FaceId ( long size)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_Construct().

◆ Vector_MR_VoxelId_MR_FaceId() [5/5]

meshlib.Vector_MR_VoxelId_MR_FaceId.Vector_MR_VoxelId_MR_FaceId ( long size,
meshlib.VoxelId val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_VoxelId_MR_FaceId.assign ( long count,
meshlib.VoxelId val )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_VoxelId_MR_FaceId meshlib.Vector_MR_VoxelId_MR_FaceId.assignFromAnother ( meshlib.Vector_MR_VoxelId_MR_FaceId _other)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_AssignFromAnother().

◆ autoResizeAt()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.autoResizeAt ( meshlib.FaceId i)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_VoxelId_MR_FaceId.autoResizeSet ( meshlib.FaceId i,
meshlib.VoxelId 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::VoxelId, MR::FaceId>::autoResizeSet.

Calls MR_Vector_MR_VoxelId_MR_FaceId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_VoxelId_MR_FaceId.autoResizeSet ( meshlib.FaceId pos,
long len,
meshlib.VoxelId 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::VoxelId, MR::FaceId>::autoResizeSet.

Calls MR_Vector_MR_VoxelId_MR_FaceId_autoResizeSet_3().

◆ back()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.back ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_back().

◆ back_mut()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.back_mut ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_back_mut().

◆ backId()

meshlib.FaceId meshlib.Vector_MR_VoxelId_MR_FaceId.backId ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_backId().

◆ beginId()

meshlib.FaceId meshlib.Vector_MR_VoxelId_MR_FaceId.beginId ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_beginId().

◆ capacity()

long meshlib.Vector_MR_VoxelId_MR_FaceId.capacity ( )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::capacity.

Calls MR_Vector_MR_VoxelId_MR_FaceId_capacity().

◆ clear()

void meshlib.Vector_MR_VoxelId_MR_FaceId.clear ( )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::clear.

Calls MR_Vector_MR_VoxelId_MR_FaceId_clear().

◆ data()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.data ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_data().

◆ data_mut()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.data_mut ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_VoxelId_MR_FaceId.empty ( )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::empty.

Calls MR_Vector_MR_VoxelId_MR_FaceId_empty().

◆ endId()

meshlib.FaceId meshlib.Vector_MR_VoxelId_MR_FaceId.endId ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_endId().

◆ front()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.front ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_front().

◆ front_mut()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.front_mut ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_VoxelId_MR_FaceId.heapBytes ( )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_heapBytes().

◆ index()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.index ( meshlib.FaceId i)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_index().

◆ index_mut()

meshlib.VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.index_mut ( meshlib.FaceId i)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_index_mut().

◆ max_size()

long meshlib.Vector_MR_VoxelId_MR_FaceId.max_size ( )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::max_size.

Calls MR_Vector_MR_VoxelId_MR_FaceId_max_size().

◆ opEqual()

boolean meshlib.Vector_MR_VoxelId_MR_FaceId.opEqual ( meshlib.Vector_MR_VoxelId_MR_FaceId b)

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::operator==.

Calls MR_equal_MR_Vector_MR_VoxelId_MR_FaceId().

◆ opNotEqual()

boolean meshlib.Vector_MR_VoxelId_MR_FaceId.opNotEqual ( meshlib.Vector_MR_VoxelId_MR_FaceId b)

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::operator!=.

Calls MR_not_equal_MR_Vector_MR_VoxelId_MR_FaceId().

◆ pop_back()

void meshlib.Vector_MR_VoxelId_MR_FaceId.pop_back ( )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::pop_back.

Calls MR_Vector_MR_VoxelId_MR_FaceId_pop_back().

◆ push_back_const_MR_VoxelId_ref()

void meshlib.Vector_MR_VoxelId_MR_FaceId.push_back_const_MR_VoxelId_ref ( meshlib.VoxelId t)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_push_back_const_MR_VoxelId_ref().

◆ push_back_MR_VoxelId_rvalue_ref()

void meshlib.Vector_MR_VoxelId_MR_FaceId.push_back_MR_VoxelId_rvalue_ref ( meshlib.VoxelId t)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_push_back_MR_VoxelId_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_VoxelId_MR_FaceId.reserve ( long capacity)

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::reserve.

Calls MR_Vector_MR_VoxelId_MR_FaceId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_VoxelId_MR_FaceId.resize ( long newSize)

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::resize.

Calls MR_Vector_MR_VoxelId_MR_FaceId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_VoxelId_MR_FaceId.resize ( long newSize,
meshlib.VoxelId t )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::resize.

Calls MR_Vector_MR_VoxelId_MR_FaceId_resize_2().

◆ resizeNoInit()

void meshlib.Vector_MR_VoxelId_MR_FaceId.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::VoxelId, MR::FaceId>::resizeNoInit.

Calls MR_Vector_MR_VoxelId_MR_FaceId_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_VoxelId_MR_FaceId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_VoxelId_MR_FaceId.resizeWithReserve ( long newSize,
meshlib.VoxelId value )

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_VoxelId_MR_FaceId.setVec ( meshlib.std_vector_MR_VoxelId_MR_Allocator_MR_VoxelId value)

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

Calls MR_Vector_MR_VoxelId_MR_FaceId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_VoxelId_MR_FaceId.shrink_to_fit ( )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::shrink_to_fit.

Calls MR_Vector_MR_VoxelId_MR_FaceId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_VoxelId_MR_FaceId.size ( )

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::size.

Calls MR_Vector_MR_VoxelId_MR_FaceId_size().

◆ swap()

void meshlib.Vector_MR_VoxelId_MR_FaceId.swap ( meshlib.Vector_MR_VoxelId_MR_FaceId b)

Generated from method MR::Vector<MR::VoxelId, MR::FaceId>::swap.

Calls MR_Vector_MR_VoxelId_MR_FaceId_swap().

◆ vec()

meshlib.std_vector_MR_VoxelId_MR_Allocator_MR_VoxelId meshlib.Vector_MR_VoxelId_MR_FaceId.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::VoxelId, MR::FaceId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_MR_VoxelId_MR_FaceId_Get_vec().


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