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

Vector<T> is indexed by size_t Generated from class MR.FaceNormals. This is the non-const half of the class. More...

Inheritance diagram for MR.FaceNormals:

Public Member Functions

unsafe FaceNormals ()
 creates empty vector
unsafe FaceNormals (MR._ByValue_FaceNormals _other)
 Generated from constructor MR.FaceNormals.FaceNormals.
 FaceNormals (Const_FaceNormals _other)
 Generated from constructor MR.FaceNormals.FaceNormals.
 FaceNormals (FaceNormals _other)
 Generated from constructor MR.FaceNormals.FaceNormals.
unsafe FaceNormals (nuint size)
 creates a vector with size elements with default value Generated from constructor MR.FaceNormals.FaceNormals.
unsafe FaceNormals (nuint size, in MR.Vector3f val)
 creates a vector with size elements with the given value Generated from constructor MR.FaceNormals.FaceNormals.
unsafe MR.FaceNormals assign (MR._ByValue_FaceNormals _other)
 Generated from method MR::FaceNormals::operator=.
unsafe void assign (nuint count, in MR.Vector3f val)
 replaces the contents with count copies of val Generated from method MR.FaceNormals.assign.
unsafe void clear ()
 Generated from method MR.FaceNormals.clear.
unsafe void resize (nuint newSize)
 Generated from method MR.FaceNormals.resize.
unsafe void resize (nuint newSize, in MR.Vector3f t)
 Generated from method MR.FaceNormals.resize.
unsafe void resizeNoInit (nuint targetSize, MR.ReserveMode? mode=null)
 Generated from method MR.FaceNormals.resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.
unsafe void reserve (nuint capacity)
 Generated from method MR.FaceNormals.reserve.
unsafe void shrinkToFit ()
 Generated from method MR::FaceNormals::shrink_to_fit.
unsafe void resizeWithReserve (nuint newSize)
 same as resize(newSize), which already grows the capacity geometrically Generated from method MR.FaceNormals.resizeWithReserve.
unsafe void resizeWithReserve (nuint newSize, in MR.Vector3f value)
 same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR.FaceNormals.resizeWithReserve.
unsafe void autoResizeSet (MR.FaceId pos, nuint 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 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.Vector3f > data ()
 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 ()
 creates empty vector
unsafe Const_FaceNormals (MR._ByValue_FaceNormals _other)
 Generated from constructor MR.FaceNormals.FaceNormals.
 Const_FaceNormals (Const_FaceNormals _other)
 Generated from constructor MR.FaceNormals.FaceNormals.
 Const_FaceNormals (FaceNormals _other)
 Generated from constructor MR.FaceNormals.FaceNormals.
unsafe Const_FaceNormals (nuint size)
 creates a vector with size elements with default value Generated from constructor MR.FaceNormals.FaceNormals.
unsafe Const_FaceNormals (nuint size, in MR.Vector3f val)
 creates a vector with size elements with the given value Generated from constructor MR.FaceNormals.FaceNormals.
unsafe bool empty ()
 Generated from method MR.FaceNormals.empty.
unsafe nuint size ()
 Generated from method MR.FaceNormals.size.
unsafe nuint maxSize ()
 Generated from method MR::FaceNormals::max_size.
unsafe nuint 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 nuint 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)

Properties

new unsafe MR.Std.Vector_MRVector3f_MRAllocatorMRVector3f vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
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_MRAllocatorMRVector3f vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe ref readonly MR.Vector3f this[MR.FaceId i] [get]
 Generated from method MR::FaceNormals::operator[].

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_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)
Protected Member Functions inherited from MR.Const_FaceNormals
virtual unsafe void Dispose (bool disposing)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR.FaceNormals. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ FaceNormals() [1/6]

unsafe MR.FaceNormals.FaceNormals ( )
inline

creates empty vector

◆ FaceNormals() [2/6]

unsafe MR.FaceNormals.FaceNormals ( MR._ByValue_FaceNormals _other)
inline

Generated from constructor MR.FaceNormals.FaceNormals.

◆ FaceNormals() [3/6]

MR.FaceNormals.FaceNormals ( Const_FaceNormals _other)
inline

Generated from constructor MR.FaceNormals.FaceNormals.

◆ FaceNormals() [4/6]

MR.FaceNormals.FaceNormals ( FaceNormals _other)
inline

Generated from constructor MR.FaceNormals.FaceNormals.

◆ FaceNormals() [5/6]

unsafe MR.FaceNormals.FaceNormals ( nuint size)
inline

creates a vector with size elements with default value Generated from constructor MR.FaceNormals.FaceNormals.

◆ FaceNormals() [6/6]

unsafe MR.FaceNormals.FaceNormals ( nuint size,
in MR.Vector3f val )
inline

creates a vector with size elements with the given value Generated from constructor MR.FaceNormals.FaceNormals.

Member Function Documentation

◆ assign() [1/2]

unsafe MR.FaceNormals MR.FaceNormals.assign ( MR._ByValue_FaceNormals _other)
inline

Generated from method MR::FaceNormals::operator=.

◆ assign() [2/2]

unsafe void MR.FaceNormals.assign ( nuint count,
in MR.Vector3f val )
inline

replaces the contents with count copies of val Generated from method MR.FaceNormals.assign.

◆ autoResizeAt()

unsafe ref MR.Vector3f MR.FaceNormals.autoResizeAt ( MR.FaceId i)
inline

this accessor automatically adjusts the size of the vector Generated from method MR.FaceNormals.autoResizeAt.

◆ autoResizeSet() [1/2]

unsafe void MR.FaceNormals.autoResizeSet ( MR.FaceId i,
MR.Vector3f val )
inline

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR.FaceNormals.autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.FaceNormals.autoResizeSet ( MR.FaceId pos,
nuint len,
MR.Vector3f 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.FaceNormals.autoResizeSet.

◆ back()

unsafe new ref MR.Vector3f MR.FaceNormals.back ( )
inline

Generated from method MR.FaceNormals.back.

◆ clear()

unsafe void MR.FaceNormals.clear ( )
inline

Generated from method MR.FaceNormals.clear.

◆ data()

unsafe new MR.Misc.? Ref< MR.Vector3f > MR.FaceNormals.data ( )
inline

Generated from method MR.FaceNormals.data.

◆ front()

unsafe new ref MR.Vector3f MR.FaceNormals.front ( )
inline

Generated from method MR.FaceNormals.front.

◆ popBack()

unsafe void MR.FaceNormals.popBack ( )
inline

Generated from method MR::FaceNormals::pop_back.

◆ pushBack() [1/2]

unsafe void MR.FaceNormals.pushBack ( in MR.Vector3f t)
inline

Generated from method MR::FaceNormals::push_back.

◆ pushBack() [2/2]

unsafe void MR.FaceNormals.pushBack ( MR.Misc._MoveRef _move_t,
in MR.Vector3f t )
inline

Generated from method MR::FaceNormals::push_back.

◆ reserve()

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

Generated from method MR.FaceNormals.reserve.

◆ resize() [1/2]

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

Generated from method MR.FaceNormals.resize.

◆ resize() [2/2]

unsafe void MR.FaceNormals.resize ( nuint newSize,
in MR.Vector3f t )
inline

Generated from method MR.FaceNormals.resize.

◆ resizeNoInit()

unsafe void MR.FaceNormals.resizeNoInit ( nuint targetSize,
MR.ReserveMode? mode = null )
inline

Generated from method MR.FaceNormals.resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.

◆ resizeWithReserve() [1/2]

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

same as resize(newSize), which already grows the capacity geometrically Generated from method MR.FaceNormals.resizeWithReserve.

◆ resizeWithReserve() [2/2]

unsafe void MR.FaceNormals.resizeWithReserve ( nuint newSize,
in MR.Vector3f value )
inline

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR.FaceNormals.resizeWithReserve.

◆ shrinkToFit()

unsafe void MR.FaceNormals.shrinkToFit ( )
inline

Generated from method MR::FaceNormals::shrink_to_fit.

◆ swap()

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

Generated from method MR.FaceNormals.swap.

Property Documentation

◆ this[MR.FaceId i]

unsafe new ref MR.Vector3f MR.FaceNormals.this[MR.FaceId i]
get

Generated from method MR::FaceNormals::operator[].

◆ vec

new unsafe MR.Std.Vector_MRVector3f_MRAllocatorMRVector3f MR.FaceNormals.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: