Previous Up Next

12.6.3  The difference and sum of two points in the plane:+, -

Let A and B be two points in the plane, with affixes a1 + i a2 and b1 + ib2 respectively.
Input:

A := point(1 + 2*i); B := point(3+4*i)

Note that -A is the point symmetric 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.


Previous Up Next