Source: http://www.tsisoa.com/spip/IMG/pdf/isometries_affines.pdf