Class Vector2d
public class Vector2d
- Inheritance
-
Vector2d
- Inherited Members
- Extension Methods
Constructors
Vector2d(double, double)
Create new vector.
public Vector2d(double x, double y)
Parameters
Properties
UnitX
public static Vector2d UnitX { get; }
Property Value
UnitY
public static Vector2d UnitY { get; }
Property Value
X
public double X { get; set; }
Property Value
Y
public double Y { get; set; }
Property Value
Zero
public static Vector2d Zero { get; }
Property Value
Methods
IsZero()
Check if vector is zero.
public bool IsZero()
Returns
To3d()
Convert to 3d vector.
public Vector3d To3d()