結果 : create vector from two points