Click or drag to resize
DigitalRuneVectorFExplicit 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.Algebra.VectorF
The vector.

Return Value

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