two-dimensional vector Generated from class MR.Vector2d. This is the const reference to the struct.
More...
Inheritance diagram for MR.ConstBox_Vector2d:Classes | |
| struct | _Underlying |
Public Member Functions | |
| 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) |
Static Public Member Functions | |
| 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.Vector2d > | operator+ (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 | |
| virtual unsafe void | Dispose (bool disposing) |
Properties | |
| 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 | |
Protected Attributes inherited from MR.Misc.Object< ConstBox_Vector2d > | |
| bool | _IsOwningVal |
two-dimensional vector Generated from class MR.Vector2d. This is the const reference to the struct.