Translation
If points are given by their

coordinates, the
translation by a given
offset vector

can be calculated using a simple addition of vectors
The offset vector as well as the points of the house in the applet can be moved freely.
Download file:
Contents
Rotation