| Vector4DProjectTo Method (Vector4D, Vector4D) |
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 Vector4D ProjectTo(
Vector4D vector,
Vector4D target
)
Public Shared Function ProjectTo (
vector As Vector4D,
target As Vector4D
) As Vector4D
public:
static Vector4D ProjectTo(
Vector4D vector,
Vector4D target
)
static member ProjectTo :
vector : Vector4D *
target : Vector4D -> Vector4D
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector4D
The vector. - target
- Type: DigitalRune.Mathematics.AlgebraVector4D
The target vector.
Return Value
Type:
Vector4D
The projection of
vector onto
target.
See Also