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

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

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

Constructor & Destructor Documentation

◆ Vector2d() [1/4]

MR.Vector2d.Vector2d ( Vector2d _other)
inline

Generated copy constructor.

◆ Vector2d() [2/4]

unsafe MR.Vector2d.Vector2d ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector2d() [3/4]

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

Generated from constructor MR.Vector2d.Vector2d.

◆ Vector2d() [4/4]

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

Generated from constructor MR.Vector2d.Vector2d.

Member Function Documentation

◆ addAssign()

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

Generated from function MR.operator+=.

◆ diagonal()

static MR.Vector2d MR.Vector2d.diagonal ( double a)
inlinestatic

Generated from method MR.Vector2d.diagonal.

◆ divAssign()

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

Generated from function MR.operator/=.

◆ Equals() [1/2]

bool MR.Vector2d.Equals ( MR.Vector2d b)
inline

◆ Equals() [2/2]

override bool MR.Vector2d.Equals ( object? other)
inline

◆ furthestBasisVector()

readonly unsafe MR.Vector2d MR.Vector2d.furthestBasisVector ( )
inline

Generated from method MR.Vector2d.furthestBasisVector.

◆ index()

unsafe ref double MR.Vector2d.index ( int e)
inline

Generated from method MR.Vector2d.operator[].

◆ isFinite()

readonly unsafe bool MR.Vector2d.isFinite ( )
inline

Generated from method MR.Vector2d.isFinite.

◆ length()

readonly unsafe double MR.Vector2d.length ( )
inline

Generated from method MR.Vector2d.length.

◆ lengthSq()

readonly unsafe double MR.Vector2d.lengthSq ( )
inline

Generated from method MR.Vector2d.lengthSq.

◆ minusX()

static MR.Vector2d MR.Vector2d.minusX ( )
inlinestatic

Generated from method MR.Vector2d.minusX.

◆ minusY()

static MR.Vector2d MR.Vector2d.minusY ( )
inlinestatic

Generated from method MR.Vector2d.minusY.

◆ mulAssign()

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

Generated from function MR.operator*=.

◆ normalized()

readonly unsafe MR.Vector2d MR.Vector2d.normalized ( )
inline

Generated from method MR.Vector2d.normalized.

◆ operator Vector2d()

static implicit MR.Vector2d.operator Vector2d ( ConstBox_Vector2d other)
static

Copy contents from a wrapper class to this struct.

◆ operator!=()

static unsafe bool MR.Vector2d.operator!= ( MR.Vector2d a,
MR.Vector2d b )
inlinestatic

◆ operator*() [1/2]

static unsafe MR.Vector2d MR.Vector2d.operator* ( double a,
MR.Vector2d b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/2]

static unsafe MR.Vector2d MR.Vector2d.operator* ( MR.Vector2d b,
double a )
inlinestatic

Generated from function MR.operator*.

◆ operator+() [1/2]

static unsafe MR.Misc.ConstRef< MR.Vector2d > MR.Vector2d.operator+ ( MR.Vector2d a)
inlinestatic

Generated from function MR.operator+.

◆ operator+() [2/2]

static unsafe MR.Vector2d MR.Vector2d.operator+ ( MR.Vector2d a,
in MR.Vector2d b )
inlinestatic

Generated from function MR.operator+.

◆ operator-() [1/2]

static unsafe MR.Vector2d MR.Vector2d.operator- ( MR.Vector2d a)
inlinestatic

Generated from function MR.operator-.

◆ operator-() [2/2]

static unsafe MR.Vector2d MR.Vector2d.operator- ( MR.Vector2d a,
in MR.Vector2d b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static MR.Vector2d MR.Vector2d.operator/ ( MR.Vector2d b,
double a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

static unsafe bool MR.Vector2d.operator== ( MR.Vector2d a,
MR.Vector2d b )
inlinestatic

Generated from function MR.operator==.

◆ perpendicular()

readonly unsafe MR.Vector2d MR.Vector2d.perpendicular ( )
inline

returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2d.perpendicular.

◆ plusX()

static MR.Vector2d MR.Vector2d.plusX ( )
inlinestatic

Generated from method MR.Vector2d.plusX.

◆ plusY()

static MR.Vector2d MR.Vector2d.plusY ( )
inlinestatic

Generated from method MR.Vector2d.plusY.

◆ subAssign()

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

Generated from function MR.operator-=.

Member Data Documentation

◆ x

double MR.Vector2d.x

◆ y

double MR.Vector2d.y

Property Documentation

◆ this[int e]

readonly unsafe double MR.Vector2d.this[int e]
get

Generated from method MR.Vector2d.operator[].


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