Compute the dot product a·b = a_x·b_x + a_y·b_y of two 2D vectors, including the projection length of a onto b.
输入两向量分量,求点积与 a 在 b 上的投影长度。
工作与生活中的相关计算与查询。