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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ UndirectedEdgeColors() [1/5]

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

◆ UndirectedEdgeColors() [2/5]

meshlib.UndirectedEdgeColors.UndirectedEdgeColors ( )

creates empty vector

Calls MR_UndirectedEdgeColors_DefaultConstruct().

◆ UndirectedEdgeColors() [3/5]

meshlib.UndirectedEdgeColors.UndirectedEdgeColors ( meshlib.UndirectedEdgeColors _other)

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

Calls MR_UndirectedEdgeColors_ConstructFromAnother().

◆ UndirectedEdgeColors() [4/5]

meshlib.UndirectedEdgeColors.UndirectedEdgeColors ( long size)

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

Calls MR_UndirectedEdgeColors_Construct().

◆ UndirectedEdgeColors() [5/5]

meshlib.UndirectedEdgeColors.UndirectedEdgeColors ( long size,
meshlib.Color val )

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

Member Function Documentation

◆ assign()

void meshlib.UndirectedEdgeColors.assign ( long count,
meshlib.Color val )

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

Calls MR_UndirectedEdgeColors_assign().

◆ assignFromAnother()

meshlib.UndirectedEdgeColors meshlib.UndirectedEdgeColors.assignFromAnother ( meshlib.UndirectedEdgeColors _other)

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

Calls MR_UndirectedEdgeColors_AssignFromAnother().

◆ autoResizeAt()

meshlib.Color meshlib.UndirectedEdgeColors.autoResizeAt ( meshlib.UndirectedEdgeId i)

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

Calls MR_UndirectedEdgeColors_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.UndirectedEdgeColors.autoResizeSet ( meshlib.UndirectedEdgeId i,
meshlib.Color val )

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

Calls MR_UndirectedEdgeColors_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.UndirectedEdgeColors.autoResizeSet ( meshlib.UndirectedEdgeId pos,
long len,
meshlib.Color 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::UndirectedEdgeColors::autoResizeSet.

Calls MR_UndirectedEdgeColors_autoResizeSet_3().

◆ back()

meshlib.Color meshlib.UndirectedEdgeColors.back ( )

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

Calls MR_UndirectedEdgeColors_back().

◆ back_mut()

meshlib.Color meshlib.UndirectedEdgeColors.back_mut ( )

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

Calls MR_UndirectedEdgeColors_back_mut().

◆ backId()

meshlib.UndirectedEdgeId meshlib.UndirectedEdgeColors.backId ( )

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

Calls MR_UndirectedEdgeColors_backId().

◆ beginId()

meshlib.UndirectedEdgeId meshlib.UndirectedEdgeColors.beginId ( )

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

Calls MR_UndirectedEdgeColors_beginId().

◆ capacity()

long meshlib.UndirectedEdgeColors.capacity ( )

Generated from method MR::UndirectedEdgeColors::capacity.

Calls MR_UndirectedEdgeColors_capacity().

◆ clear()

void meshlib.UndirectedEdgeColors.clear ( )

Generated from method MR::UndirectedEdgeColors::clear.

Calls MR_UndirectedEdgeColors_clear().

◆ data()

meshlib.Color meshlib.UndirectedEdgeColors.data ( )

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

Calls MR_UndirectedEdgeColors_data().

◆ data_mut()

meshlib.Color meshlib.UndirectedEdgeColors.data_mut ( )

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

Calls MR_UndirectedEdgeColors_data_mut().

◆ empty()

boolean meshlib.UndirectedEdgeColors.empty ( )

Generated from method MR::UndirectedEdgeColors::empty.

Calls MR_UndirectedEdgeColors_empty().

◆ endId()

meshlib.UndirectedEdgeId meshlib.UndirectedEdgeColors.endId ( )

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

Calls MR_UndirectedEdgeColors_endId().

◆ front()

meshlib.Color meshlib.UndirectedEdgeColors.front ( )

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

Calls MR_UndirectedEdgeColors_front().

◆ front_mut()

meshlib.Color meshlib.UndirectedEdgeColors.front_mut ( )

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

Calls MR_UndirectedEdgeColors_front_mut().

◆ heapBytes()

long meshlib.UndirectedEdgeColors.heapBytes ( )

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

Calls MR_UndirectedEdgeColors_heapBytes().

◆ index()

meshlib.Color meshlib.UndirectedEdgeColors.index ( meshlib.UndirectedEdgeId i)

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

Calls MR_UndirectedEdgeColors_index().

◆ index_mut()

meshlib.Color meshlib.UndirectedEdgeColors.index_mut ( meshlib.UndirectedEdgeId i)

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

Calls MR_UndirectedEdgeColors_index_mut().

◆ max_size()

long meshlib.UndirectedEdgeColors.max_size ( )

Generated from method MR::UndirectedEdgeColors::max_size.

Calls MR_UndirectedEdgeColors_max_size().

◆ opEqual()

boolean meshlib.UndirectedEdgeColors.opEqual ( meshlib.UndirectedEdgeColors b)

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

Calls MR_equal_MR_UndirectedEdgeColors().

◆ opNotEqual()

boolean meshlib.UndirectedEdgeColors.opNotEqual ( meshlib.UndirectedEdgeColors b)

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

Calls MR_not_equal_MR_UndirectedEdgeColors().

◆ pop_back()

void meshlib.UndirectedEdgeColors.pop_back ( )

Generated from method MR::UndirectedEdgeColors::pop_back.

Calls MR_UndirectedEdgeColors_pop_back().

◆ push_back_const_MR_Color_ref()

void meshlib.UndirectedEdgeColors.push_back_const_MR_Color_ref ( meshlib.Color t)

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

Calls MR_UndirectedEdgeColors_push_back_const_MR_Color_ref().

◆ push_back_MR_Color_rvalue_ref()

void meshlib.UndirectedEdgeColors.push_back_MR_Color_rvalue_ref ( meshlib.Color t)

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

Calls MR_UndirectedEdgeColors_push_back_MR_Color_rvalue_ref().

◆ reserve()

void meshlib.UndirectedEdgeColors.reserve ( long capacity)

Generated from method MR::UndirectedEdgeColors::reserve.

Calls MR_UndirectedEdgeColors_reserve().

◆ resize() [1/2]

void meshlib.UndirectedEdgeColors.resize ( long newSize)

Generated from method MR::UndirectedEdgeColors::resize.

Calls MR_UndirectedEdgeColors_resize_1().

◆ resize() [2/2]

void meshlib.UndirectedEdgeColors.resize ( long newSize,
meshlib.Color t )

Generated from method MR::UndirectedEdgeColors::resize.

Calls MR_UndirectedEdgeColors_resize_2().

◆ resizeNoInit()

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

Calls MR_UndirectedEdgeColors_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.UndirectedEdgeColors.resizeWithReserve ( long newSize)

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

Calls MR_UndirectedEdgeColors_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.UndirectedEdgeColors.resizeWithReserve ( long newSize,
meshlib.Color value )

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

Calls MR_UndirectedEdgeColors_resizeWithReserve_2().

◆ setVec()

void meshlib.UndirectedEdgeColors.setVec ( meshlib.std_vector_MR_Color_MR_Allocator_MR_Color value)

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

Calls MR_UndirectedEdgeColors_Set_vec().

◆ shrink_to_fit()

void meshlib.UndirectedEdgeColors.shrink_to_fit ( )

Generated from method MR::UndirectedEdgeColors::shrink_to_fit.

Calls MR_UndirectedEdgeColors_shrink_to_fit().

◆ size()

long meshlib.UndirectedEdgeColors.size ( )

Generated from method MR::UndirectedEdgeColors::size.

Calls MR_UndirectedEdgeColors_size().

◆ swap()

void meshlib.UndirectedEdgeColors.swap ( meshlib.UndirectedEdgeColors b)

Generated from method MR::UndirectedEdgeColors::swap.

Calls MR_UndirectedEdgeColors_swap().

◆ vec()

meshlib.std_vector_MR_Color_MR_Allocator_MR_Color meshlib.UndirectedEdgeColors.vec ( )

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

Calls MR_UndirectedEdgeColors_Get_vec().


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