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

Generated from class MR.Vector2d. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Vector2d:

Public Member Functions

unsafe Box_Vector2d (Vector2d 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_Vector2d (ConstBox_Vector2d _other)
 Generated copy constructor.
 
void Assign (ConstBox_Vector2d _other)
 Generated copy assignment.
 
unsafe Box_Vector2d ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Vector2d (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2d.Vector2d.
 
unsafe Box_Vector2d (double x, double y)
 Generated from constructor MR.Vector2d.Vector2d.
 
unsafe ref MR.Vector2d addAssign (in MR.Vector2d b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Vector2d subAssign (in MR.Vector2d b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Vector2d mulAssign (double b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Vector2d divAssign (double b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Vector2d
virtual void Dispose ()
 
unsafe ConstBox_Vector2d (Vector2d 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 ConstBox_Vector2d (ConstBox_Vector2d _other)
 Generated copy constructor.
 
unsafe ConstBox_Vector2d ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Vector2d (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2d.Vector2d.
 
unsafe ConstBox_Vector2d (double x, double y)
 Generated from constructor MR.Vector2d.Vector2d.
 
unsafe double lengthSq ()
 Generated from method MR.Vector2d.lengthSq.
 
unsafe double length ()
 Generated from method MR.Vector2d.length.
 
unsafe MR.Vector2d normalized ()
 Generated from method MR.Vector2d.normalized.
 
unsafe MR.Vector2d furthestBasisVector ()
 Generated from method MR.Vector2d.furthestBasisVector.
 
unsafe MR.Vector2d perpendicular ()
 returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2d.perpendicular.
 
unsafe bool isFinite ()
 Generated from method MR.Vector2d.isFinite.
 
bool Equals (MR.ConstBox_Vector2d? b)
 
override bool Equals (object? other)
 

Properties

new ref double x [get]
 
new ref double y [get]
 
unsafe new ref double this[int e] [get]
 Generated from method MR.Vector2d.operator[].
 
- Properties inherited from MR.ConstBox_Vector2d
ref readonly double x [get]
 
ref readonly double y [get]
 
static unsafe int Elements [get]
 
unsafe double this[int e] [get]
 Generated from method MR.Vector2d.operator[].
 

Additional Inherited Members

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

Detailed Description

Generated from class MR.Vector2d. This is the non-const reference to the struct.

Constructor & Destructor Documentation

◆ Box_Vector2d() [1/5]

unsafe MR.Box_Vector2d.Box_Vector2d ( Vector2d other)
inline

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.)

◆ Box_Vector2d() [2/5]

unsafe MR.Box_Vector2d.Box_Vector2d ( ConstBox_Vector2d _other)
inline

Generated copy constructor.

◆ Box_Vector2d() [3/5]

unsafe MR.Box_Vector2d.Box_Vector2d ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_Vector2d() [4/5]

unsafe MR.Box_Vector2d.Box_Vector2d ( MR.Const_NoInit _1)
inline

Generated from constructor MR.Vector2d.Vector2d.

◆ Box_Vector2d() [5/5]

unsafe MR.Box_Vector2d.Box_Vector2d ( double x,
double y )
inline

Generated from constructor MR.Vector2d.Vector2d.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Vector2d MR.Box_Vector2d.addAssign ( in MR.Vector2d b)
inline

Generated from function MR.operator+=.

◆ Assign()

void MR.Box_Vector2d.Assign ( ConstBox_Vector2d _other)
inline

Generated copy assignment.

◆ divAssign()

unsafe ref MR.Vector2d MR.Box_Vector2d.divAssign ( double b)
inline

Generated from function MR.operator/=.

◆ mulAssign()

unsafe ref MR.Vector2d MR.Box_Vector2d.mulAssign ( double b)
inline

Generated from function MR.operator*=.

◆ subAssign()

unsafe ref MR.Vector2d MR.Box_Vector2d.subAssign ( in MR.Vector2d b)
inline

Generated from function MR.operator-=.

Property Documentation

◆ this[int e]

unsafe new ref double MR.Box_Vector2d.this[int e]
get

Generated from method MR.Vector2d.operator[].

◆ x

new ref double MR.Box_Vector2d.x
get

◆ y

new ref double MR.Box_Vector2d.y
get

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