Defining similarity through angle-preserving transformations