Click or drag to resize
DigitalRuneVectorD  Conversion (VectorD to Vector2D)
Performs an explicit conversion from VectorD to Vector2D.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static explicit operator Vector2D (
	VectorD vector
)

Parameters

vector
Type: DigitalRune.Mathematics.AlgebraVectorD
The vector.

Return Value

Type: Vector2D
The result of the conversion.
Exceptions
ExceptionCondition
ArgumentNullExceptionvector is .
InvalidCastException This vector has more than 2 elements.
See Also