Click or drag to resize
DigitalRuneVector2FProjectTo Method (Vector2F, Vector2F)
Projects a vector onto an axis given by the target vector.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static Vector2F ProjectTo(
	Vector2F vector,
	Vector2F target
)

Parameters

vector
Type: DigitalRune.Mathematics.AlgebraVector2F
The vector.
target
Type: DigitalRune.Mathematics.AlgebraVector2F
The target vector.

Return Value

Type: Vector2F
The projection of vector onto target.
See Also