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.
public Vector4 ToVector4( ) { return new Vector4( X, Y, Z, 1 ); } }