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

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

+ Inheritance diagram for MR.Box_Vector2f:

Public Member Functions

unsafe Box_Vector2f (Vector2f 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_Vector2f (ConstBox_Vector2f _other)
 Generated copy constructor.
 
void Assign (ConstBox_Vector2f _other)
 Generated copy assignment.
 
unsafe Box_Vector2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Vector2f (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe Box_Vector2f (float x, float y)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe ref MR.Vector2f addAssign (in MR.Vector2f b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Vector2f subAssign (in MR.Vector2f b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Vector2f mulAssign (float b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Vector2f divAssign (float b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Vector2f
unsafe ConstBox_Vector2f (Vector2f 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_Vector2f (ConstBox_Vector2f _other)
 Generated copy constructor.
 
unsafe ConstBox_Vector2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Vector2f (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe ConstBox_Vector2f (float x, float y)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe float lengthSq ()
 Generated from method MR.Vector2f.lengthSq.
 
unsafe float length ()
 Generated from method MR.Vector2f.length.
 
unsafe MR.Vector2f normalized ()
 Generated from method MR.Vector2f.normalized.
 
unsafe MR.Vector2f furthestBasisVector ()
 returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this Generated from method MR.Vector2f.furthestBasisVector.
 
unsafe MR.Vector2f perpendicular ()
 returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2f.perpendicular.
 
unsafe bool isFinite ()
 Generated from method MR.Vector2f.isFinite.
 
bool Equals (MR.ConstBox_Vector2f? b)
 
override bool Equals (object? other)
 

Properties

unsafe new ref Vector2f _Ref [get]
 Get the underlying struct.
 
new ref float x [get]
 
new ref float y [get]
 
unsafe new ref float this[int e] [get]
 Generated from method MR.Vector2f.operator[].
 
- Properties inherited from MR.ConstBox_Vector2f
unsafe ref readonly Vector2f _Ref [get]
 Get the underlying struct.
 
ref readonly float x [get]
 
ref readonly float y [get]
 
static unsafe int Elements [get]
 
unsafe float this[int e] [get]
 Generated from method MR.Vector2f.operator[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Vector2f >
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_Vector2f
static implicit operator ConstBox_Vector2f (Vector2f other)
 Convert from a struct by copying it. Note that only ConstBox_Vector2f has this conversion, Box_Vector2f intentionally doesn't.
 
static MR.Vector2f diagonal (float a)
 Generated from method MR.Vector2f.diagonal.
 
static MR.Vector2f plusX ()
 Generated from method MR.Vector2f.plusX.
 
static MR.Vector2f plusY ()
 Generated from method MR.Vector2f.plusY.
 
static MR.Vector2f minusX ()
 Generated from method MR.Vector2f.minusX.
 
static MR.Vector2f minusY ()
 Generated from method MR.Vector2f.minusY.
 
static unsafe bool operator== (MR.ConstBox_Vector2f a, MR.ConstBox_Vector2f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Vector2f a, MR.ConstBox_Vector2f b)
 
static unsafe MR.Misc.ConstRef< MR.Vector2foperator+ (MR.ConstBox_Vector2f a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2f operator- (MR.ConstBox_Vector2f a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2f operator+ (MR.ConstBox_Vector2f a, in MR.Vector2f b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2f operator- (MR.ConstBox_Vector2f a, in MR.Vector2f b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2f operator* (float a, MR.ConstBox_Vector2f b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2f operator* (MR.ConstBox_Vector2f b, float a)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2f operator/ (ConstBox_Vector2f b, float a)
 Generated from function MR.operator/.
 
- Protected Member Functions inherited from MR.ConstBox_Vector2f
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Vector2f >
bool _IsOwningVal
 

Detailed Description

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


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