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

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

+ Inheritance diagram for MR.VertCoords:

Public Member Functions

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

Static Public Member Functions

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

Properties

new unsafe MR.Std.Vector_MRVector3f vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref MR.Vector3f this[MR.VertId i] [get]
 Generated from method MR.VertCoords.operator[].
 
- Properties inherited from MR.Const_VertCoords
unsafe MR.Std.Const_Vector_MRVector3f vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe ref readonly MR.Vector3f this[MR.VertId i] [get]
 Generated from method MR.VertCoords.operator[].
 
- Properties inherited from MR.Misc.Object< Const_VertCoords >
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_VertCoords
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_VertCoords >
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.VertCoords. This is the non-const half of the class.

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