Click or drag to resize
DigitalRuneVector2DProjectTo Method (Vector2D, Vector2D)
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 Vector2D ProjectTo(
	Vector2D vector,
	Vector2D target
)

Parameters

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

Return Value

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