MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Vector2d Struct Reference

two-dimensional vector Generated from class MR.Vector2d. This is the by-value version of the struct. More...

+ Inheritance diagram for MR.Vector2d:

Public Member Functions

 Vector2d (Vector2d _other)
 Generated copy constructor.
 
unsafe Vector2d ()
 Constructs an empty (default-constructed) instance.
 
unsafe Vector2d (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2d.Vector2d.
 
unsafe Vector2d (double x, double y)
 Generated from constructor MR.Vector2d.Vector2d.
 
unsafe ref double index (int e)
 Generated from method MR.Vector2d.operator[].
 
readonly unsafe double lengthSq ()
 Generated from method MR.Vector2d.lengthSq.
 
readonly unsafe double length ()
 Generated from method MR.Vector2d.length.
 
readonly unsafe MR.Vector2d normalized ()
 Generated from method MR.Vector2d.normalized.
 
readonly 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.
 
readonly unsafe MR.Vector2d perpendicular ()
 returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2d.perpendicular.
 
readonly unsafe bool isFinite ()
 Generated from method MR.Vector2d.isFinite.
 
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/=.
 
bool Equals (MR.Vector2d b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator Vector2d (ConstBox_Vector2d other)
 Copy contents from a wrapper class to this struct.
 
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.Vector2d a, MR.Vector2d b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.Vector2d a, MR.Vector2d b)
 
static unsafe MR.Misc.ConstRef< MR.Vector2doperator+ (MR.Vector2d a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2d operator- (MR.Vector2d a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2d operator+ (MR.Vector2d a, in MR.Vector2d b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2d operator- (MR.Vector2d a, in MR.Vector2d b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2d operator* (double a, MR.Vector2d b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2d operator* (MR.Vector2d b, double a)
 Generated from function MR.operator*.
 
static MR.Vector2d operator/ (MR.Vector2d b, double a)
 Generated from function MR.operator/.
 

Public Attributes

double x
 
double y
 

Properties

readonly unsafe double this[int e] [get]
 Generated from method MR.Vector2d.operator[].
 

Detailed Description

two-dimensional vector Generated from class MR.Vector2d. This is the by-value version of the struct.


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