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

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

Inheritance diagram for MR.Vector_Double_MRRegionId:

Public Member Functions

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

Properties

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

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Vector_Double_MRRegionId() [1/6]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( )
inline

creates empty vector

◆ Vector_Double_MRRegionId() [2/6]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( MR._ByValue_Vector_Double_MRRegionId _other)
inline

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

◆ Vector_Double_MRRegionId() [3/6]

MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( Const_Vector_Double_MRRegionId _other)
inline

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

◆ Vector_Double_MRRegionId() [4/6]

MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( Vector_Double_MRRegionId _other)
inline

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

◆ Vector_Double_MRRegionId() [5/6]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( nuint size)
inline

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

◆ Vector_Double_MRRegionId() [6/6]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( nuint size,
double val )
inline

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

Member Function Documentation

◆ assign() [1/2]

unsafe MR.Vector_Double_MRRegionId MR.Vector_Double_MRRegionId.assign ( MR._ByValue_Vector_Double_MRRegionId _other)
inline

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

◆ assign() [2/2]

unsafe void MR.Vector_Double_MRRegionId.assign ( nuint count,
double val )
inline

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

◆ autoResizeAt()

unsafe ref double MR.Vector_Double_MRRegionId.autoResizeAt ( MR.RegionId i)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_Double_MRRegionId.autoResizeSet ( MR.RegionId i,
double 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;double, MR.RegionId&gt;autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_Double_MRRegionId.autoResizeSet ( MR.RegionId pos,
nuint len,
double 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;double, MR.RegionId&gt;autoResizeSet.

◆ back()

unsafe new ref double MR.Vector_Double_MRRegionId.back ( )
inline

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

◆ clear()

unsafe void MR.Vector_Double_MRRegionId.clear ( )
inline

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

◆ data()

unsafe new MR.Misc.? Ref< double > MR.Vector_Double_MRRegionId.data ( )
inline

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

◆ front()

unsafe new ref double MR.Vector_Double_MRRegionId.front ( )
inline

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

◆ popBack()

unsafe void MR.Vector_Double_MRRegionId.popBack ( )
inline

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

◆ pushBack() [1/2]

unsafe void MR.Vector_Double_MRRegionId.pushBack ( double t)
inline

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

◆ pushBack() [2/2]

unsafe void MR.Vector_Double_MRRegionId.pushBack ( MR.Misc._MoveRef _move_t,
double t )
inline

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

◆ reserve()

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

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

◆ resize() [1/2]

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

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

◆ resize() [2/2]

unsafe void MR.Vector_Double_MRRegionId.resize ( nuint newSize,
double t )
inline

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

◆ resizeWithReserve() [1/2]

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

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

◆ resizeWithReserve() [2/2]

unsafe void MR.Vector_Double_MRRegionId.resizeWithReserve ( nuint newSize,
double value )
inline

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

◆ shrinkToFit()

unsafe void MR.Vector_Double_MRRegionId.shrinkToFit ( )
inline

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

◆ swap()

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

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

Property Documentation

◆ this[MR.RegionId i]

unsafe new ref double MR.Vector_Double_MRRegionId.this[MR.RegionId i]
get

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

◆ vec

new unsafe MR.Std.Vector_Double_MRAllocatorDouble MR.Vector_Double_MRRegionId.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: