Computes a parallel projection of the 3d vector.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Vector3d ProjectParallelOn(
	Vector3d a
)
Visual Basic (Declaration)
Public Function ProjectParallelOn ( _
	a As Vector3d _
) As Vector3d
Visual C++
public:
Vector3d^ ProjectParallelOn(
	Vector3d^ a
)

Parameters

a
Type: ceometric.VectorGeometry..::.Vector3d
A 3d vector the 3d vector is projected onto.

Return Value

Returns the orthogonal projection of the 3d vector onto the 3d vector a.

Remarks

The orthogonal projection of a vector u onto a vector v is the component of u in the direction of v.

Exceptions

ExceptionCondition
System..::.ArithmeticExceptionThe vector a has zero length.

See Also