i have a question . Here x2 is equidistant from points x2 and x3 but in opposite direction => d1=d2 and teta=-teta. If i calculate the euclidean distance ofcourse, it wil