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

two-dimensional vector 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
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.)
 
virtual void Dispose ()
 
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 ()
 returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this 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

unsafe new ref Vector2d _Ref [get]
 Get the underlying struct.
 
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
unsafe ref readonly Vector2d _Ref [get]
 Get the underlying struct.
 
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[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Vector2d >
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_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)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Vector2d >
bool _IsOwningVal
 

Detailed Description

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


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