transformations.similarity

Classes pertaining to similarities.

Classes

Similarity

A Similarity is any transformation composed of translations, rotations, uniform scales, and reflections.

Scale

A Scale transformation scales the distance a vector is from (0, 0, 0) by a given scale_factor, f.

ManualSimilarityUnit

A ManualSimilarityUnit is a Similarity unit that is implemented by specifying its matrix manually (used by the compute() method of Similarity).