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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Vector_MR_AABBTreePoints_Node_MR_NodeId() [1/5]

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

meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.Vector_MR_AABBTreePoints_Node_MR_NodeId ( )

creates empty vector

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_DefaultConstruct().

◆ Vector_MR_AABBTreePoints_Node_MR_NodeId() [3/5]

meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.Vector_MR_AABBTreePoints_Node_MR_NodeId ( meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId _other)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_ConstructFromAnother().

◆ Vector_MR_AABBTreePoints_Node_MR_NodeId() [4/5]

meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.Vector_MR_AABBTreePoints_Node_MR_NodeId ( long size)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_Construct().

◆ Vector_MR_AABBTreePoints_Node_MR_NodeId() [5/5]

meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.Vector_MR_AABBTreePoints_Node_MR_NodeId ( long size,
meshlib.AABBTreePoints_Node val )

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

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.assign ( long count,
meshlib.AABBTreePoints_Node val )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.assignFromAnother ( meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId _other)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_AssignFromAnother().

◆ autoResizeAt()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.autoResizeAt ( meshlib.NodeId i)

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::autoResizeAt.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.autoResizeSet ( meshlib.NodeId i,
meshlib.AABBTreePoints_Node 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::AABBTreePoints::Node, MR::NodeId>::autoResizeSet.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.autoResizeSet ( meshlib.NodeId pos,
long len,
meshlib.AABBTreePoints_Node 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::AABBTreePoints::Node, MR::NodeId>::autoResizeSet.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_autoResizeSet_3().

◆ back()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.back ( )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_back().

◆ back_mut()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.back_mut ( )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_back_mut().

◆ backId()

meshlib.NodeId meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.backId ( )

returns the identifier of the back() element Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::backId.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_backId().

◆ beginId()

meshlib.NodeId meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.beginId ( )

returns the identifier of the first element Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::beginId.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_beginId().

◆ capacity()

long meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.capacity ( )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::capacity.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_capacity().

◆ clear()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.clear ( )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::clear.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_clear().

◆ data()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.data ( )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_data().

◆ data_mut()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.data_mut ( )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.empty ( )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::empty.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_empty().

◆ endId()

meshlib.NodeId meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.endId ( )

returns backId() + 1 Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::endId.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_endId().

◆ front()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.front ( )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_front().

◆ front_mut()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.front_mut ( )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.heapBytes ( )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_heapBytes().

◆ index()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.index ( meshlib.NodeId i)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_index().

◆ index_mut()

meshlib.AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.index_mut ( meshlib.NodeId i)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_index_mut().

◆ max_size()

long meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.max_size ( )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::max_size.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_max_size().

◆ pop_back()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.pop_back ( )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::pop_back.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_pop_back().

◆ push_back_const_MR_AABBTreePoints_Node_ref()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.push_back_const_MR_AABBTreePoints_Node_ref ( meshlib.AABBTreePoints_Node t)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_push_back_const_MR_AABBTreePoints_Node_ref().

◆ push_back_MR_AABBTreePoints_Node_rvalue_ref()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.push_back_MR_AABBTreePoints_Node_rvalue_ref ( meshlib.AABBTreePoints_Node t)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_push_back_MR_AABBTreePoints_Node_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.reserve ( long capacity)

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::reserve.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.resize ( long newSize)

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::resize.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.resize ( long newSize,
meshlib.AABBTreePoints_Node t )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::resize.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.resizeWithReserve ( long newSize,
meshlib.AABBTreePoints_Node value )

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.setVec ( meshlib.std_vector_MR_AABBTreePoints_Node_MR_Allocator_MR_AABBTreePoints_Node value)

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

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.shrink_to_fit ( )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::shrink_to_fit.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.size ( )

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::size.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_size().

◆ swap()

void meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.swap ( meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId b)

Generated from method MR::Vector<MR::AABBTreePoints::Node, MR::NodeId>::swap.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_swap().

◆ vec()

meshlib.std_vector_MR_AABBTreePoints_Node_MR_Allocator_MR_AABBTreePoints_Node meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId.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::AABBTreePoints::Node, MR::NodeId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_MR_AABBTreePoints_Node_MR_NodeId_Get_vec().


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