Let A and B be two points in the plane, with affixes a1+ia2 and b1+ib2 respectively.
A:=point(1+2*i):; B:=point(3+4*i):; |
Then:
vector(A,B); vector(point(0),point(B-A)) |
D:=point(B+A); segment(B,D); segment(point(0),A) |
Note that −A is the point symmetrical to A with respect to the origin.
The sum of three points A+B+C can be viewed as the translate of C by the vector A+B. So if A or B contains parameters, you should write this as C+(A+B) or evalc(A+B)+C.