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

Parameters

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

Return Value

Type: VectorF
The projection of vector onto target.
Exceptions
ExceptionCondition
ArgumentNullExceptionvector or target is .
See Also