MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Vector_MRVoxelId_MRVoxelId Class Reference

Vector<T> is indexed by size_t Generated from class MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;. This is the non-const half of the class. More...

Inheritance diagram for MR.Vector_MRVoxelId_MRVoxelId:

Public Member Functions

unsafe Vector_MRVoxelId_MRVoxelId ()
 creates empty vector
unsafe Vector_MRVoxelId_MRVoxelId (MR._ByValue_Vector_MRVoxelId_MRVoxelId _other)
 Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
 Vector_MRVoxelId_MRVoxelId (Const_Vector_MRVoxelId_MRVoxelId _other)
 Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
 Vector_MRVoxelId_MRVoxelId (Vector_MRVoxelId_MRVoxelId _other)
 Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
unsafe Vector_MRVoxelId_MRVoxelId (nuint size)
 creates a vector with size elements with default value Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
unsafe Vector_MRVoxelId_MRVoxelId (nuint size, in MR.VoxelId val)
 creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
unsafe MR.Vector_MRVoxelId_MRVoxelId assign (MR._ByValue_Vector_MRVoxelId_MRVoxelId _other)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::operator=.
unsafe void assign (nuint count, in MR.VoxelId val)
 replaces the contents with count copies of val Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;assign.
unsafe void clear ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;clear.
unsafe void resize (nuint newSize)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resize.
unsafe void resize (nuint newSize, in MR.VoxelId t)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resize.
unsafe void resizeNoInit (nuint targetSize, MR.ReserveMode? mode=null)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.
unsafe void reserve (nuint capacity)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;reserve.
unsafe void shrinkToFit ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::shrink_to_fit.
unsafe void resizeWithReserve (nuint newSize)
 same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resizeWithReserve.
unsafe void resizeWithReserve (nuint newSize, in MR.VoxelId value)
 same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resizeWithReserve.
unsafe void autoResizeSet (MR.VoxelId pos, nuint len, MR.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&lt;MR.VoxelId, MR.VoxelId&gt;autoResizeSet.
unsafe void autoResizeSet (MR.VoxelId i, MR.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&lt;MR.VoxelId, MR.VoxelId&gt;autoResizeSet.
unsafe ref MR.VoxelId autoResizeAt (MR.VoxelId i)
 this accessor automatically adjusts the size of the vector Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;autoResizeAt.
unsafe void pushBack (in MR.VoxelId t)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::push_back.
unsafe void pushBack (MR.Misc._MoveRef _move_t, in MR.VoxelId t)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::push_back.
unsafe void popBack ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::pop_back.
unsafe new ref MR.VoxelId front ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;front.
unsafe new ref MR.VoxelId back ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;back.
unsafe new MR.Misc.? Ref< MR.VoxelId > data ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;data.
unsafe void swap (MR.Vector_MRVoxelId_MRVoxelId b)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;swap.
Public Member Functions inherited from MR.Const_Vector_MRVoxelId_MRVoxelId
virtual void Dispose ()
unsafe Const_Vector_MRVoxelId_MRVoxelId ()
 creates empty vector
unsafe Const_Vector_MRVoxelId_MRVoxelId (MR._ByValue_Vector_MRVoxelId_MRVoxelId _other)
 Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
 Const_Vector_MRVoxelId_MRVoxelId (Const_Vector_MRVoxelId_MRVoxelId _other)
 Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
 Const_Vector_MRVoxelId_MRVoxelId (Vector_MRVoxelId_MRVoxelId _other)
 Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
unsafe Const_Vector_MRVoxelId_MRVoxelId (nuint size)
 creates a vector with size elements with default value Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
unsafe Const_Vector_MRVoxelId_MRVoxelId (nuint size, in MR.VoxelId val)
 creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.
unsafe bool empty ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;empty.
unsafe nuint size ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;size.
unsafe nuint maxSize ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::max_size.
unsafe nuint capacity ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;capacity.
unsafe ref readonly MR.VoxelId front ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;front.
unsafe ref readonly MR.VoxelId back ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;back.
unsafe MR.VoxelId beginId ()
 returns the identifier of the first element Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;beginId.
unsafe MR.VoxelId backId ()
 returns the identifier of the back() element Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;backId.
unsafe MR.VoxelId endId ()
 returns backId() + 1 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;endId.
unsafe MR.? VoxelId data ()
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;data.
unsafe nuint heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;heapBytes.
bool Equals (MR.Const_Vector_MRVoxelId_MRVoxelId? b)
override bool Equals (object? other)

Properties

new unsafe MR.Std.Vector_MRVoxelId_MRAllocatorMRVoxelId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe new ref MR.VoxelId this[MR.VoxelId i] [get]
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::operator[].
Properties inherited from MR.Const_Vector_MRVoxelId_MRVoxelId
unsafe MR.Std.Const_Vector_MRVoxelId_MRAllocatorMRVoxelId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe ref readonly MR.VoxelId this[MR.VoxelId i] [get]
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::operator[].

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_Vector_MRVoxelId_MRVoxelId
static unsafe bool operator== (MR.Const_Vector_MRVoxelId_MRVoxelId _this, MR.Const_Vector_MRVoxelId_MRVoxelId b)
 Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;operator==.
static unsafe bool operator!= (MR.Const_Vector_MRVoxelId_MRVoxelId _this, MR.Const_Vector_MRVoxelId_MRVoxelId b)
Protected Member Functions inherited from MR.Const_Vector_MRVoxelId_MRVoxelId
virtual unsafe void Dispose (bool disposing)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Vector_MRVoxelId_MRVoxelId() [1/6]

unsafe MR.Vector_MRVoxelId_MRVoxelId.Vector_MRVoxelId_MRVoxelId ( )
inline

creates empty vector

◆ Vector_MRVoxelId_MRVoxelId() [2/6]

unsafe MR.Vector_MRVoxelId_MRVoxelId.Vector_MRVoxelId_MRVoxelId ( MR._ByValue_Vector_MRVoxelId_MRVoxelId _other)
inline

Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.

◆ Vector_MRVoxelId_MRVoxelId() [3/6]

MR.Vector_MRVoxelId_MRVoxelId.Vector_MRVoxelId_MRVoxelId ( Const_Vector_MRVoxelId_MRVoxelId _other)
inline

Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.

◆ Vector_MRVoxelId_MRVoxelId() [4/6]

MR.Vector_MRVoxelId_MRVoxelId.Vector_MRVoxelId_MRVoxelId ( Vector_MRVoxelId_MRVoxelId _other)
inline

Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.

◆ Vector_MRVoxelId_MRVoxelId() [5/6]

unsafe MR.Vector_MRVoxelId_MRVoxelId.Vector_MRVoxelId_MRVoxelId ( nuint size)
inline

creates a vector with size elements with default value Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.

◆ Vector_MRVoxelId_MRVoxelId() [6/6]

unsafe MR.Vector_MRVoxelId_MRVoxelId.Vector_MRVoxelId_MRVoxelId ( nuint size,
in MR.VoxelId val )
inline

creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::Vector.

Member Function Documentation

◆ assign() [1/2]

unsafe MR.Vector_MRVoxelId_MRVoxelId MR.Vector_MRVoxelId_MRVoxelId.assign ( MR._ByValue_Vector_MRVoxelId_MRVoxelId _other)
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::operator=.

◆ assign() [2/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.assign ( nuint count,
in MR.VoxelId val )
inline

replaces the contents with count copies of val Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;assign.

◆ autoResizeAt()

unsafe ref MR.VoxelId MR.Vector_MRVoxelId_MRVoxelId.autoResizeAt ( MR.VoxelId i)
inline

this accessor automatically adjusts the size of the vector Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;autoResizeAt.

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.autoResizeSet ( MR.VoxelId i,
MR.VoxelId val )
inline

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.autoResizeSet ( MR.VoxelId pos,
nuint len,
MR.VoxelId val )
inline

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&lt;MR.VoxelId, MR.VoxelId&gt;autoResizeSet.

◆ back()

unsafe new ref MR.VoxelId MR.Vector_MRVoxelId_MRVoxelId.back ( )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;back.

◆ clear()

unsafe void MR.Vector_MRVoxelId_MRVoxelId.clear ( )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;clear.

◆ data()

unsafe new MR.Misc.? Ref< MR.VoxelId > MR.Vector_MRVoxelId_MRVoxelId.data ( )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;data.

◆ front()

unsafe new ref MR.VoxelId MR.Vector_MRVoxelId_MRVoxelId.front ( )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;front.

◆ popBack()

unsafe void MR.Vector_MRVoxelId_MRVoxelId.popBack ( )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::pop_back.

◆ pushBack() [1/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.pushBack ( in MR.VoxelId t)
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::push_back.

◆ pushBack() [2/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.pushBack ( MR.Misc._MoveRef _move_t,
in MR.VoxelId t )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::push_back.

◆ reserve()

unsafe void MR.Vector_MRVoxelId_MRVoxelId.reserve ( nuint capacity)
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;reserve.

◆ resize() [1/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.resize ( nuint newSize)
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resize.

◆ resize() [2/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.resize ( nuint newSize,
in MR.VoxelId t )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resize.

◆ resizeNoInit()

unsafe void MR.Vector_MRVoxelId_MRVoxelId.resizeNoInit ( nuint targetSize,
MR.ReserveMode? mode = null )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.

◆ resizeWithReserve() [1/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.resizeWithReserve ( nuint newSize)
inline

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resizeWithReserve.

◆ resizeWithReserve() [2/2]

unsafe void MR.Vector_MRVoxelId_MRVoxelId.resizeWithReserve ( nuint newSize,
in MR.VoxelId value )
inline

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;resizeWithReserve.

◆ shrinkToFit()

unsafe void MR.Vector_MRVoxelId_MRVoxelId.shrinkToFit ( )
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::shrink_to_fit.

◆ swap()

unsafe void MR.Vector_MRVoxelId_MRVoxelId.swap ( MR.Vector_MRVoxelId_MRVoxelId b)
inline

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;swap.

Property Documentation

◆ this[MR.VoxelId i]

unsafe new ref MR.VoxelId MR.Vector_MRVoxelId_MRVoxelId.this[MR.VoxelId i]
get

Generated from method MR::Vector&lt;MR.VoxelId, MR.VoxelId&gt;::operator[].

◆ vec

new unsafe MR.Std.Vector_MRVoxelId_MRAllocatorMRVoxelId MR.Vector_MRVoxelId_MRVoxelId.vec
getprotected set

The user can directly manipulate the vector, they can't break anything anyway.


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