Name | Description | |
---|---|---|
Vector2D Constructor | Overloaded. |
The following tables list the members exposed by Vector2D.
Name | Description | |
---|---|---|
Vector2D Constructor | Overloaded. |
Name | Description | |
---|---|---|
Angle | Gets the angle between the X-axis and the 2D vector. | |
AxisX | Returns the X axis vector. | |
AxisY | Returns the Y axis vector. | |
IsUnit | True if the vector has length equal to one. | |
IsZero | True if the vector has length equal to zero. | |
Length | Gets or sets the 2D vector length. | |
LengthSquared | Gets the 2D vector squared length. |
Name | Description | |
---|---|---|
Add | Addition between two 2D points. | |
AngleBetween | Computes the angle between two 2D vectors. | |
AreCoincident | Overloaded. Returns true if the angle between the two 2D vectors is zero. | |
AreOpposite | Overloaded. Returns true if the angle between the two 2D vectors is PI. | |
AreOrthogonal | Overloaded. Returns true if the angle between the two 2D vectors is PI/2. | |
AreParallel | Overloaded. Returns true if the angle between the two 2D vectors is 0 or PI. | |
Clone | Overridden. Creates a deep copy of this 2D vector. | |
ConvertToSurrogate | Overridden. | |
Dot | Overloaded. Dot product between two 2D vectors. | |
Negate | Reverses the 2D vector direction. | |
Normalize | Resizes the 2D vector to unit length. | |
PerpDotProduct | Perpendicular dot product. | |
Reverse | Inverts the 2D vector direction. | |
SignedAngleBetween | Computes the angle between two 2D vectors. | |
Subtract | Subtraction between two 2D points. | |
ToString | Converts this 2D vector to a human readable string. | |
TransformBy | Overridden. Transforms the 2D vector by the specified transformation. | |
Zero | Sets all the vector components to zero. |
Addition | Addition between two vectors. |
Multiplication | Overloaded. Multiplication between a scalar value and a 2D vector. |
Subtraction | Subtraction between two 2D vectors. |