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