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

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

+ Inheritance diagram for MR.Triangulation:

Public Member Functions

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

Static Public Member Functions

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

Properties

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

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