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

two-dimensional vector Generated from class MR.Vector2i. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Vector2i:

Public Member Functions

unsafe Box_Vector2i (Vector2i other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe Box_Vector2i (ConstBox_Vector2i _other)
 Generated copy constructor.
 
void Assign (ConstBox_Vector2i _other)
 Generated copy assignment.
 
unsafe Box_Vector2i ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Vector2i (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2i.Vector2i.
 
unsafe Box_Vector2i (int x, int y)
 Generated from constructor MR.Vector2i.Vector2i.
 
unsafe ref MR.Vector2i addAssign (in MR.Vector2i b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Vector2i subAssign (in MR.Vector2i b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Vector2i mulAssign (int b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Vector2i divAssign (int b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Vector2i
unsafe ConstBox_Vector2i (Vector2i other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
virtual void Dispose ()
 
unsafe ConstBox_Vector2i (ConstBox_Vector2i _other)
 Generated copy constructor.
 
unsafe ConstBox_Vector2i ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Vector2i (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2i.Vector2i.
 
unsafe ConstBox_Vector2i (int x, int y)
 Generated from constructor MR.Vector2i.Vector2i.
 
unsafe int lengthSq ()
 Generated from method MR.Vector2i.lengthSq.
 
unsafe double length ()
 Generated from method MR.Vector2i.length.
 
unsafe MR.Vector2i furthestBasisVector ()
 returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this Generated from method MR.Vector2i.furthestBasisVector.
 
unsafe MR.Vector2i perpendicular ()
 returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2i.perpendicular.
 
bool Equals (MR.ConstBox_Vector2i? b)
 
override bool Equals (object? other)
 

Properties

unsafe new ref Vector2i _Ref [get]
 Get the underlying struct.
 
new ref int x [get]
 
new ref int y [get]
 
unsafe new ref int this[int e] [get]
 Generated from method MR.Vector2i.operator[].
 
- Properties inherited from MR.ConstBox_Vector2i
unsafe ref readonly Vector2i _Ref [get]
 Get the underlying struct.
 
ref readonly int x [get]
 
ref readonly int y [get]
 
static unsafe int Elements [get]
 
unsafe int this[int e] [get]
 Generated from method MR.Vector2i.operator[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Vector2i >
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

- Static Public Member Functions inherited from MR.ConstBox_Vector2i
static implicit operator ConstBox_Vector2i (Vector2i other)
 Convert from a struct by copying it. Note that only ConstBox_Vector2i has this conversion, Box_Vector2i intentionally doesn't.
 
static MR.Vector2i diagonal (int a)
 Generated from method MR.Vector2i.diagonal.
 
static MR.Vector2i plusX ()
 Generated from method MR.Vector2i.plusX.
 
static MR.Vector2i plusY ()
 Generated from method MR.Vector2i.plusY.
 
static MR.Vector2i minusX ()
 Generated from method MR.Vector2i.minusX.
 
static MR.Vector2i minusY ()
 Generated from method MR.Vector2i.minusY.
 
static unsafe bool operator== (MR.ConstBox_Vector2i a, MR.ConstBox_Vector2i b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Vector2i a, MR.ConstBox_Vector2i b)
 
static unsafe MR.Misc.ConstRef< MR.Vector2ioperator+ (MR.ConstBox_Vector2i a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2i operator- (MR.ConstBox_Vector2i a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2i operator+ (MR.ConstBox_Vector2i a, in MR.Vector2i b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2i operator- (MR.ConstBox_Vector2i a, in MR.Vector2i b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2i operator* (int a, MR.ConstBox_Vector2i b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2i operator* (MR.ConstBox_Vector2i b, int a)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2i operator/ (ConstBox_Vector2i b, int a)
 Generated from function MR.operator/.
 
- Protected Member Functions inherited from MR.ConstBox_Vector2i
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Vector2i >
bool _IsOwningVal
 

Detailed Description

two-dimensional vector Generated from class MR.Vector2i. This is the non-const reference to the struct.


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