Converts the vector to a 4D vector.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public Vector4 ToVector4()

Return Value

Returns 4D vector which is an extension of the 3D vector.

Remarks

The method returns a 4D vector which has X, Y and Z coordinates equal to the coordinates of this 3D vector and W coordinate set to 1.0.

See Also