| VectorFProjectTo Method (VectorF, VectorF) |
Projects a vector onto an axis given by the target vector.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static VectorF ProjectTo(
VectorF vector,
VectorF target
)
Public Shared Function ProjectTo (
vector As VectorF,
target As VectorF
) As VectorF
public:
static VectorF^ ProjectTo(
VectorF^ vector,
VectorF^ target
)
static member ProjectTo :
vector : VectorF *
target : VectorF -> VectorF
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 See Also