Group of shape -> transform list

Hi there! I have a list of points, the vertices from a group of shape (6 squares in this case)

This list of points is equivalent to:
first shape + list of transformation (in order to work with instances).
I used Homography to achieve this result.
https://vvvv.org/sites/default/files/imagecache/large/images/HomogPoint_2014.11.03-17.50.38.png

My question is: it’s possible to do the same with different shapes? Ok I guess I can do the same trick with triangles (I’ll try later) but what if I have hexagons?

HomogPoint.v4p (17.5 kB)