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

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

+ Inheritance diagram for MR.FaceNormals:

Public Member Functions

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

Static Public Member Functions

static unsafe implicit operator FaceNormals (MR.Misc._Moved< MR.Std.Vector_MRVector3f > vec)
 moves data from the given std.vector<T> Generated from constructor MR.FaceNormals.FaceNormals.
 
- Static Public Member Functions inherited from MR.Const_FaceNormals
static unsafe implicit operator Const_FaceNormals (MR.Misc._Moved< MR.Std.Vector_MRVector3f > vec)
 moves data from the given std.vector<T> Generated from constructor MR.FaceNormals.FaceNormals.
 
static unsafe bool operator== (MR.Const_FaceNormals _this, MR.Const_FaceNormals b)
 Generated from method MR.FaceNormals.operator==.
 
static unsafe bool operator!= (MR.Const_FaceNormals _this, MR.Const_FaceNormals 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.FaceId i] [get]
 Generated from method MR.FaceNormals.operator[].
 
- Properties inherited from MR.Const_FaceNormals
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.FaceId i] [get]
 Generated from method MR.FaceNormals.operator[].
 
- Properties inherited from MR.Misc.Object< Const_FaceNormals >
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_FaceNormals
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_FaceNormals >
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.FaceNormals. This is the non-const half of the class.

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