Click or drag to resize
DigitalRuneVectorF  Conversion (VectorF to Vector2F)
Performs an explicit conversion from VectorF to Vector2F.

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 Vector2F (
	VectorF vector
)

Parameters

vector
Type: DigitalRune.Mathematics.AlgebraVectorF
The vector.

Return Value

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