 | Vector2D Conversion (Vector2D to Double) |
Converts a vector to an array of 2 double values.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntaxpublic static explicit operator double[] (
Vector2D vector
)
Public Shared Narrowing Operator CType (
vector As Vector2D
) As Double()
static explicit operator array<double>^ (
Vector2D vector
)
F# does not support the declaration of new casting operators.
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector2D
The vector.
Return Value
Type:
Double
The array with 2
double values. The order of the elements is: x, y
See Also