Generic computation of geometric transformations