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

std.vector<T>-like container that requires specific indexing type, More...

+ Inheritance diagram for MR.VertScalars:

Public Member Functions

unsafe VertScalars ()
 Constructs an empty (default-constructed) instance.
 
unsafe VertScalars (MR._ByValue_VertScalars _other)
 Generated from constructor MR.VertScalars.VertScalars.
 
unsafe VertScalars (ulong size)
 creates a vector with size elements with default value Generated from constructor MR.VertScalars.VertScalars.
 
unsafe VertScalars (ulong size, float val)
 creates a vector with size elements with the given value Generated from constructor MR.VertScalars.VertScalars.
 
unsafe VertScalars (MR.Misc._Moved< MR.Std.Vector_Float > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertScalars.VertScalars.
 
unsafe MR.VertScalars assign (MR._ByValue_VertScalars _other)
 Generated from method MR.VertScalars.operator=.
 
unsafe void clear ()
 Generated from method MR.VertScalars.clear.
 
unsafe void resize (ulong newSize)
 Generated from method MR.VertScalars.resize.
 
unsafe void resize (ulong newSize, float t)
 Generated from method MR.VertScalars.resize.
 
unsafe void reserve (ulong capacity)
 Generated from method MR.VertScalars.reserve.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.VertScalars.resizeWithReserve.
 
unsafe void resizeWithReserve (ulong newSize, float value)
 doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.VertScalars.resizeWithReserve.
 
unsafe void autoResizeSet (MR.VertId pos, ulong len, float 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.VertScalars.autoResizeSet.
 
unsafe void autoResizeSet (MR.VertId i, float val)
 sets the element #i to the given value, adjusting the size of the vector to include new element Generated from method MR.VertScalars.autoResizeSet.
 
unsafe ref float autoResizeAt (MR.VertId i)
 this accessor automatically adjusts the size of the vector Generated from method MR.VertScalars.autoResizeAt.
 
unsafe void pushBack (float t)
 Generated from method MR.VertScalars.push_back.
 
unsafe void pushBack (MR.Misc._MoveRef _move_t, float t)
 Generated from method MR.VertScalars.push_back.
 
unsafe void popBack ()
 Generated from method MR.VertScalars.pop_back.
 
unsafe ref float emplaceBack ()
 Generated from method MR.VertScalars.emplace_back<>.
 
unsafe new ref float front ()
 Generated from method MR.VertScalars.front.
 
unsafe new ref float back ()
 Generated from method MR.VertScalars.back.
 
unsafe new MR.Misc.? Ref< float > data ()
 Generated from method MR.VertScalars.data.
 
unsafe void swap (MR.VertScalars b)
 Generated from method MR.VertScalars.swap.
 
- Public Member Functions inherited from MR.Const_VertScalars
virtual void Dispose ()
 
unsafe Const_VertScalars ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_VertScalars (MR._ByValue_VertScalars _other)
 Generated from constructor MR.VertScalars.VertScalars.
 
unsafe Const_VertScalars (ulong size)
 creates a vector with size elements with default value Generated from constructor MR.VertScalars.VertScalars.
 
unsafe Const_VertScalars (ulong size, float val)
 creates a vector with size elements with the given value Generated from constructor MR.VertScalars.VertScalars.
 
unsafe Const_VertScalars (MR.Misc._Moved< MR.Std.Vector_Float > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertScalars.VertScalars.
 
unsafe bool empty ()
 Generated from method MR.VertScalars.empty.
 
unsafe ulong size ()
 Generated from method MR.VertScalars.size.
 
unsafe ulong capacity ()
 Generated from method MR.VertScalars.capacity.
 
unsafe float front ()
 Generated from method MR.VertScalars.front.
 
unsafe float back ()
 Generated from method MR.VertScalars.back.
 
unsafe MR.VertId beginId ()
 returns the identifier of the first element Generated from method MR.VertScalars.beginId.
 
unsafe MR.VertId backId ()
 returns the identifier of the back() element Generated from method MR.VertScalars.backId.
 
unsafe MR.VertId endId ()
 returns backId() + 1 Generated from method MR.VertScalars.endId.
 
unsafe? float data ()
 Generated from method MR.VertScalars.data.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.VertScalars.heapBytes.
 
bool Equals (MR.Const_VertScalars? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static unsafe implicit operator VertScalars (MR.Misc._Moved< MR.Std.Vector_Float > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertScalars.VertScalars.
 
- Static Public Member Functions inherited from MR.Const_VertScalars
static unsafe implicit operator Const_VertScalars (MR.Misc._Moved< MR.Std.Vector_Float > vec)
 moves data from the given std.vector<T> Generated from constructor MR.VertScalars.VertScalars.
 
static unsafe bool operator== (MR.Const_VertScalars _this, MR.Const_VertScalars b)
 Generated from method MR.VertScalars.operator==.
 
static unsafe bool operator!= (MR.Const_VertScalars _this, MR.Const_VertScalars b)
 

Properties

new unsafe MR.Std.Vector_Float vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref float this[MR.VertId i] [get]
 Generated from method MR.VertScalars.operator[].
 
- Properties inherited from MR.Const_VertScalars
unsafe MR.Std.Const_Vector_Float vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe float this[MR.VertId i] [get]
 Generated from method MR.VertScalars.operator[].
 
- Properties inherited from MR.Misc.Object< Const_VertScalars >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Const_VertScalars
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_VertScalars >
bool _IsOwningVal
 

Detailed Description

std.vector<T>-like container that requires specific indexing type,

Template Parameters
Ttype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR.VertScalars. This is the non-const half of the class.

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