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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_MR_ObjFaceId_MR_FaceId() [1/5]

meshlib.Vector_MR_ObjFaceId_MR_FaceId.Vector_MR_ObjFaceId_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_ObjFaceId_MR_FaceId() [2/5]

meshlib.Vector_MR_ObjFaceId_MR_FaceId.Vector_MR_ObjFaceId_MR_FaceId ( )

creates empty vector

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_DefaultConstruct().

◆ Vector_MR_ObjFaceId_MR_FaceId() [3/5]

meshlib.Vector_MR_ObjFaceId_MR_FaceId.Vector_MR_ObjFaceId_MR_FaceId ( meshlib.Vector_MR_ObjFaceId_MR_FaceId _other)

Generated from constructor MR::Vector<MR::ObjFaceId, 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_ObjFaceId_MR_FaceId_ConstructFromAnother().

◆ Vector_MR_ObjFaceId_MR_FaceId() [4/5]

meshlib.Vector_MR_ObjFaceId_MR_FaceId.Vector_MR_ObjFaceId_MR_FaceId ( long size)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_Construct().

◆ Vector_MR_ObjFaceId_MR_FaceId() [5/5]

meshlib.Vector_MR_ObjFaceId_MR_FaceId.Vector_MR_ObjFaceId_MR_FaceId ( long size,
meshlib.ObjFaceId val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.assign ( long count,
meshlib.ObjFaceId val )

replaces the contents with count copies of val Generated from method MR::Vector<MR::ObjFaceId, 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_ObjFaceId_MR_FaceId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_ObjFaceId_MR_FaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.assignFromAnother ( meshlib.Vector_MR_ObjFaceId_MR_FaceId _other)

Generated from method MR::Vector<MR::ObjFaceId, 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_ObjFaceId_MR_FaceId_AssignFromAnother().

◆ autoResizeAt()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.autoResizeAt ( meshlib.FaceId i)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_autoResizeAt().

◆ autoResizeSet() [1/2]

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_autoResizeSet_3().

◆ back()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.back ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_back().

◆ back_mut()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.back_mut ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_back_mut().

◆ backId()

meshlib.FaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.backId ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_backId().

◆ beginId()

meshlib.FaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.beginId ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_beginId().

◆ capacity()

long meshlib.Vector_MR_ObjFaceId_MR_FaceId.capacity ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_capacity().

◆ clear()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.clear ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_clear().

◆ data()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.data ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_data().

◆ data_mut()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.data_mut ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_ObjFaceId_MR_FaceId.empty ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_empty().

◆ endId()

meshlib.FaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.endId ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_endId().

◆ front()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.front ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_front().

◆ front_mut()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.front_mut ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_ObjFaceId_MR_FaceId.heapBytes ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_heapBytes().

◆ index()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.index ( meshlib.FaceId i)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_index().

◆ index_mut()

meshlib.ObjFaceId meshlib.Vector_MR_ObjFaceId_MR_FaceId.index_mut ( meshlib.FaceId i)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_index_mut().

◆ max_size()

long meshlib.Vector_MR_ObjFaceId_MR_FaceId.max_size ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_max_size().

◆ opEqual()

boolean meshlib.Vector_MR_ObjFaceId_MR_FaceId.opEqual ( meshlib.Vector_MR_ObjFaceId_MR_FaceId b)

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

Calls MR_equal_MR_Vector_MR_ObjFaceId_MR_FaceId().

◆ opNotEqual()

boolean meshlib.Vector_MR_ObjFaceId_MR_FaceId.opNotEqual ( meshlib.Vector_MR_ObjFaceId_MR_FaceId b)

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

Calls MR_not_equal_MR_Vector_MR_ObjFaceId_MR_FaceId().

◆ pop_back()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.pop_back ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_pop_back().

◆ push_back_const_MR_ObjFaceId_ref()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.push_back_const_MR_ObjFaceId_ref ( meshlib.ObjFaceId t)

Generated from method MR::Vector<MR::ObjFaceId, 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_ObjFaceId_MR_FaceId_push_back_const_MR_ObjFaceId_ref().

◆ push_back_MR_ObjFaceId_rvalue_ref()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.push_back_MR_ObjFaceId_rvalue_ref ( meshlib.ObjFaceId t)

Generated from method MR::Vector<MR::ObjFaceId, 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_ObjFaceId_MR_FaceId_push_back_MR_ObjFaceId_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.reserve ( long capacity)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.resize ( long newSize)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.resize ( long newSize,
meshlib.ObjFaceId t )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.resizeWithReserve ( long newSize,
meshlib.ObjFaceId value )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.setVec ( meshlib.std_vector_MR_ObjFaceId_MR_Allocator_MR_ObjFaceId value)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.shrink_to_fit ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_ObjFaceId_MR_FaceId.size ( )

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_size().

◆ swap()

void meshlib.Vector_MR_ObjFaceId_MR_FaceId.swap ( meshlib.Vector_MR_ObjFaceId_MR_FaceId b)

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_swap().

◆ vec()

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

Calls MR_Vector_MR_ObjFaceId_MR_FaceId_Get_vec().


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