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

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

Inheritance diagram for MR.FaceMap:

Public Member Functions

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

Properties

new unsafe MR.Std.Vector_MRFaceId_MRAllocatorMRFaceId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe new ref MR.FaceId this[MR.FaceId i] [get]
 Generated from method MR::FaceMap::operator[].
Properties inherited from MR.Const_FaceMap
unsafe MR.Std.Const_Vector_MRFaceId_MRAllocatorMRFaceId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe ref readonly MR.FaceId this[MR.FaceId i] [get]
 Generated from method MR::FaceMap::operator[].

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ FaceMap() [1/6]

unsafe MR.FaceMap.FaceMap ( )
inline

creates empty vector

◆ FaceMap() [2/6]

unsafe MR.FaceMap.FaceMap ( MR._ByValue_FaceMap _other)
inline

Generated from constructor MR.FaceMap.FaceMap.

◆ FaceMap() [3/6]

MR.FaceMap.FaceMap ( Const_FaceMap _other)
inline

Generated from constructor MR.FaceMap.FaceMap.

◆ FaceMap() [4/6]

MR.FaceMap.FaceMap ( FaceMap _other)
inline

Generated from constructor MR.FaceMap.FaceMap.

◆ FaceMap() [5/6]

unsafe MR.FaceMap.FaceMap ( nuint size)
inline

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

◆ FaceMap() [6/6]

unsafe MR.FaceMap.FaceMap ( nuint size,
in MR.FaceId val )
inline

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

Member Function Documentation

◆ assign() [1/2]

unsafe MR.FaceMap MR.FaceMap.assign ( MR._ByValue_FaceMap _other)
inline

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

◆ assign() [2/2]

unsafe void MR.FaceMap.assign ( nuint count,
in MR.FaceId val )
inline

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

◆ autoResizeAt()

unsafe ref MR.FaceId MR.FaceMap.autoResizeAt ( MR.FaceId i)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.FaceMap.autoResizeSet ( MR.FaceId i,
MR.FaceId val )
inline

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

◆ autoResizeSet() [2/2]

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

◆ back()

unsafe new ref MR.FaceId MR.FaceMap.back ( )
inline

Generated from method MR.FaceMap.back.

◆ clear()

unsafe void MR.FaceMap.clear ( )
inline

Generated from method MR.FaceMap.clear.

◆ data()

unsafe new MR.Misc.? Ref< MR.FaceId > MR.FaceMap.data ( )
inline

Generated from method MR.FaceMap.data.

◆ front()

unsafe new ref MR.FaceId MR.FaceMap.front ( )
inline

Generated from method MR.FaceMap.front.

◆ popBack()

unsafe void MR.FaceMap.popBack ( )
inline

Generated from method MR::FaceMap::pop_back.

◆ pushBack() [1/2]

unsafe void MR.FaceMap.pushBack ( in MR.FaceId t)
inline

Generated from method MR::FaceMap::push_back.

◆ pushBack() [2/2]

unsafe void MR.FaceMap.pushBack ( MR.Misc._MoveRef _move_t,
in MR.FaceId t )
inline

Generated from method MR::FaceMap::push_back.

◆ reserve()

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

Generated from method MR.FaceMap.reserve.

◆ resize() [1/2]

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

Generated from method MR.FaceMap.resize.

◆ resize() [2/2]

unsafe void MR.FaceMap.resize ( nuint newSize,
in MR.FaceId t )
inline

Generated from method MR.FaceMap.resize.

◆ resizeNoInit()

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

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

◆ resizeWithReserve() [1/2]

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

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

◆ resizeWithReserve() [2/2]

unsafe void MR.FaceMap.resizeWithReserve ( nuint newSize,
in MR.FaceId value )
inline

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

◆ shrinkToFit()

unsafe void MR.FaceMap.shrinkToFit ( )
inline

Generated from method MR::FaceMap::shrink_to_fit.

◆ swap()

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

Generated from method MR.FaceMap.swap.

Property Documentation

◆ this[MR.FaceId i]

unsafe new ref MR.FaceId MR.FaceMap.this[MR.FaceId i]
get

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

◆ vec

new unsafe MR.Std.Vector_MRFaceId_MRAllocatorMRFaceId MR.FaceMap.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: