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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ VertCoords2() [1/5]

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

◆ VertCoords2() [2/5]

meshlib.VertCoords2.VertCoords2 ( )

creates empty vector

Calls MR_VertCoords2_DefaultConstruct().

◆ VertCoords2() [3/5]

meshlib.VertCoords2.VertCoords2 ( meshlib.VertCoords2 _other)

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

Calls MR_VertCoords2_ConstructFromAnother().

◆ VertCoords2() [4/5]

meshlib.VertCoords2.VertCoords2 ( long size)

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

Calls MR_VertCoords2_Construct().

◆ VertCoords2() [5/5]

meshlib.VertCoords2.VertCoords2 ( long size,
meshlib.Vector2f val )

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

Member Function Documentation

◆ assign()

void meshlib.VertCoords2.assign ( long count,
meshlib.Vector2f val )

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

Calls MR_VertCoords2_assign().

◆ assignFromAnother()

meshlib.VertCoords2 meshlib.VertCoords2.assignFromAnother ( meshlib.VertCoords2 _other)

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

Calls MR_VertCoords2_AssignFromAnother().

◆ autoResizeAt()

meshlib.Vector2f meshlib.VertCoords2.autoResizeAt ( meshlib.VertId i)

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

Calls MR_VertCoords2_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.VertCoords2.autoResizeSet ( meshlib.VertId i,
meshlib.Vector2f val )

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

Calls MR_VertCoords2_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.VertCoords2.autoResizeSet ( meshlib.VertId pos,
long len,
meshlib.Vector2f 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::VertCoords2::autoResizeSet.

Calls MR_VertCoords2_autoResizeSet_3().

◆ back()

meshlib.Vector2f meshlib.VertCoords2.back ( )

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

Calls MR_VertCoords2_back().

◆ back_mut()

meshlib.Vector2f meshlib.VertCoords2.back_mut ( )

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

Calls MR_VertCoords2_back_mut().

◆ backId()

meshlib.VertId meshlib.VertCoords2.backId ( )

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

Calls MR_VertCoords2_backId().

◆ beginId()

meshlib.VertId meshlib.VertCoords2.beginId ( )

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

Calls MR_VertCoords2_beginId().

◆ capacity()

long meshlib.VertCoords2.capacity ( )

Generated from method MR::VertCoords2::capacity.

Calls MR_VertCoords2_capacity().

◆ clear()

void meshlib.VertCoords2.clear ( )

Generated from method MR::VertCoords2::clear.

Calls MR_VertCoords2_clear().

◆ data()

meshlib.Vector2f meshlib.VertCoords2.data ( )

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

Calls MR_VertCoords2_data().

◆ data_mut()

meshlib.Vector2f meshlib.VertCoords2.data_mut ( )

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

Calls MR_VertCoords2_data_mut().

◆ empty()

boolean meshlib.VertCoords2.empty ( )

Generated from method MR::VertCoords2::empty.

Calls MR_VertCoords2_empty().

◆ endId()

meshlib.VertId meshlib.VertCoords2.endId ( )

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

Calls MR_VertCoords2_endId().

◆ front()

meshlib.Vector2f meshlib.VertCoords2.front ( )

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

Calls MR_VertCoords2_front().

◆ front_mut()

meshlib.Vector2f meshlib.VertCoords2.front_mut ( )

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

Calls MR_VertCoords2_front_mut().

◆ heapBytes()

long meshlib.VertCoords2.heapBytes ( )

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

Calls MR_VertCoords2_heapBytes().

◆ index()

meshlib.Vector2f meshlib.VertCoords2.index ( meshlib.VertId i)

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

Calls MR_VertCoords2_index().

◆ index_mut()

meshlib.Vector2f meshlib.VertCoords2.index_mut ( meshlib.VertId i)

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

Calls MR_VertCoords2_index_mut().

◆ max_size()

long meshlib.VertCoords2.max_size ( )

Generated from method MR::VertCoords2::max_size.

Calls MR_VertCoords2_max_size().

◆ opEqual()

boolean meshlib.VertCoords2.opEqual ( meshlib.VertCoords2 b)

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

Calls MR_equal_MR_VertCoords2().

◆ opNotEqual()

boolean meshlib.VertCoords2.opNotEqual ( meshlib.VertCoords2 b)

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

Calls MR_not_equal_MR_VertCoords2().

◆ pop_back()

void meshlib.VertCoords2.pop_back ( )

Generated from method MR::VertCoords2::pop_back.

Calls MR_VertCoords2_pop_back().

◆ push_back_const_MR_Vector2f_ref()

void meshlib.VertCoords2.push_back_const_MR_Vector2f_ref ( meshlib.Vector2f t)

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

Calls MR_VertCoords2_push_back_const_MR_Vector2f_ref().

◆ push_back_MR_Vector2f_rvalue_ref()

void meshlib.VertCoords2.push_back_MR_Vector2f_rvalue_ref ( meshlib.Vector2f t)

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

Calls MR_VertCoords2_push_back_MR_Vector2f_rvalue_ref().

◆ reserve()

void meshlib.VertCoords2.reserve ( long capacity)

Generated from method MR::VertCoords2::reserve.

Calls MR_VertCoords2_reserve().

◆ resize() [1/2]

void meshlib.VertCoords2.resize ( long newSize)

Generated from method MR::VertCoords2::resize.

Calls MR_VertCoords2_resize_1().

◆ resize() [2/2]

void meshlib.VertCoords2.resize ( long newSize,
meshlib.Vector2f t )

Generated from method MR::VertCoords2::resize.

Calls MR_VertCoords2_resize_2().

◆ resizeNoInit()

void meshlib.VertCoords2.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::VertCoords2::resizeNoInit.

Calls MR_VertCoords2_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.VertCoords2.resizeWithReserve ( long newSize)

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

Calls MR_VertCoords2_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.VertCoords2.resizeWithReserve ( long newSize,
meshlib.Vector2f value )

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

Calls MR_VertCoords2_resizeWithReserve_2().

◆ setVec()

void meshlib.VertCoords2.setVec ( meshlib.std_vector_MR_Vector2f_MR_Allocator_MR_Vector2f value)

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

Calls MR_VertCoords2_Set_vec().

◆ shrink_to_fit()

void meshlib.VertCoords2.shrink_to_fit ( )

Generated from method MR::VertCoords2::shrink_to_fit.

Calls MR_VertCoords2_shrink_to_fit().

◆ size()

long meshlib.VertCoords2.size ( )

Generated from method MR::VertCoords2::size.

Calls MR_VertCoords2_size().

◆ swap()

void meshlib.VertCoords2.swap ( meshlib.VertCoords2 b)

Generated from method MR::VertCoords2::swap.

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

Calls MR_VertCoords2_Get_vec().


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