Vector2D Operators and Type Conversions |
The Vector2D type exposes the following members.
Name | Description | |
---|---|---|
Addition |
Adds two vectors.
| |
Division(Vector2D, Vector2D) |
Divides the components of a vector by the components of another vector.
| |
Division(Vector2D, Double) |
Divides a vector by a scalar.
| |
Equality |
Tests if two vectors are equal.
| |
(Vector2 to Vector2D) | ||
(Vector2D to Double) |
Converts a vector to an array of 2 double values.
| |
(Vector2D to ListDouble) |
Converts a vector to a list of 2 double values.
| |
(Vector2D to Vector2F) | ||
(Vector2D to Vector2) | ||
GreaterThan |
Tests if each component of a vector is greater than the corresponding component of another
vector.
| |
GreaterThanOrEqual |
Tests if each component of a vector is greater or equal than the corresponding component of
another vector.
| |
(Vector2D to VectorD) | ||
Inequality |
Tests if two vectors are not equal.
| |
LessThan |
Tests if each component of a vector is less than the corresponding component of another
vector.
| |
LessThanOrEqual |
Tests if each component of a vector is less or equal than the corresponding component of
another vector.
| |
Multiply(Double, Vector2D) |
Multiplies a vector by a scalar.
| |
Multiply(Vector2D, Vector2D) |
Multiplies the components of two vectors by each other.
| |
Multiply(Vector2D, Double) |
Multiplies a vector by a scalar.
| |
Subtraction |
Subtracts a vector from a vector.
| |
UnaryNegation |
Negates a vector.
|