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

Vector<T> is indexed by size_t Generated from class MR.VertMap. This is the non-const half of the class. More...

Inheritance diagram for MR.VertMap:

Public Member Functions

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

Properties

new unsafe MR.Std.Vector_MRVertId_MRAllocatorMRVertId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe new ref MR.VertId this[MR.VertId i] [get]
 Generated from method MR::VertMap::operator[].
Properties inherited from MR.Const_VertMap
unsafe MR.Std.Const_Vector_MRVertId_MRAllocatorMRVertId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe ref readonly MR.VertId this[MR.VertId i] [get]
 Generated from method MR::VertMap::operator[].

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_VertMap
static unsafe bool operator== (MR.Const_VertMap _this, MR.Const_VertMap b)
 Generated from method MR::VertMap::operator==.
static unsafe bool operator!= (MR.Const_VertMap _this, MR.Const_VertMap b)
Protected Member Functions inherited from MR.Const_VertMap
virtual unsafe void Dispose (bool disposing)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR.VertMap. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ VertMap() [1/6]

unsafe MR.VertMap.VertMap ( )
inline

creates empty vector

◆ VertMap() [2/6]

unsafe MR.VertMap.VertMap ( MR._ByValue_VertMap _other)
inline

Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [3/6]

MR.VertMap.VertMap ( Const_VertMap _other)
inline

Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [4/6]

MR.VertMap.VertMap ( VertMap _other)
inline

Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [5/6]

unsafe MR.VertMap.VertMap ( nuint size)
inline

creates a vector with size elements with default value Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [6/6]

unsafe MR.VertMap.VertMap ( nuint size,
in MR.VertId val )
inline

creates a vector with size elements with the given value Generated from constructor MR.VertMap.VertMap.

Member Function Documentation

◆ assign() [1/2]

unsafe MR.VertMap MR.VertMap.assign ( MR._ByValue_VertMap _other)
inline

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

◆ assign() [2/2]

unsafe void MR.VertMap.assign ( nuint count,
in MR.VertId val )
inline

replaces the contents with count copies of val Generated from method MR.VertMap.assign.

◆ autoResizeAt()

unsafe ref MR.VertId MR.VertMap.autoResizeAt ( MR.VertId i)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.VertMap.autoResizeSet ( MR.VertId i,
MR.VertId val )
inline

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

◆ autoResizeSet() [2/2]

unsafe void MR.VertMap.autoResizeSet ( MR.VertId pos,
nuint len,
MR.VertId 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.VertMap.autoResizeSet.

◆ back()

unsafe new ref MR.VertId MR.VertMap.back ( )
inline

Generated from method MR.VertMap.back.

◆ clear()

unsafe void MR.VertMap.clear ( )
inline

Generated from method MR.VertMap.clear.

◆ data()

unsafe new MR.Misc.? Ref< MR.VertId > MR.VertMap.data ( )
inline

Generated from method MR.VertMap.data.

◆ front()

unsafe new ref MR.VertId MR.VertMap.front ( )
inline

Generated from method MR.VertMap.front.

◆ popBack()

unsafe void MR.VertMap.popBack ( )
inline

Generated from method MR::VertMap::pop_back.

◆ pushBack() [1/2]

unsafe void MR.VertMap.pushBack ( in MR.VertId t)
inline

Generated from method MR::VertMap::push_back.

◆ pushBack() [2/2]

unsafe void MR.VertMap.pushBack ( MR.Misc._MoveRef _move_t,
in MR.VertId t )
inline

Generated from method MR::VertMap::push_back.

◆ reserve()

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

Generated from method MR.VertMap.reserve.

◆ resize() [1/2]

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

Generated from method MR.VertMap.resize.

◆ resize() [2/2]

unsafe void MR.VertMap.resize ( nuint newSize,
in MR.VertId t )
inline

Generated from method MR.VertMap.resize.

◆ resizeNoInit()

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

Generated from method MR.VertMap.resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.

◆ resizeWithReserve() [1/2]

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

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

◆ resizeWithReserve() [2/2]

unsafe void MR.VertMap.resizeWithReserve ( nuint newSize,
in MR.VertId value )
inline

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

◆ shrinkToFit()

unsafe void MR.VertMap.shrinkToFit ( )
inline

Generated from method MR::VertMap::shrink_to_fit.

◆ swap()

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

Generated from method MR.VertMap.swap.

Property Documentation

◆ this[MR.VertId i]

unsafe new ref MR.VertId MR.VertMap.this[MR.VertId i]
get

Generated from method MR::VertMap::operator[].

◆ vec

new unsafe MR.Std.Vector_MRVertId_MRAllocatorMRVertId MR.VertMap.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: