# Affine mapping

### From Online Dictionary of Crystallography

Transformation affine (*Fr*). Affine Abbildung (*Ge*). Trasformazione affine (*It*). アフィン写像 (*Ja*). Transformación afín (*Sp*).

## Definition

An **affine mapping** is any mapping that preserves collinearity and ratios of distances: if three points belong to the same straight line, their images under an affine transformation also belong to a straight line. Moreover, the middle point is also conserved under the affine mapping. By contrast, angles and lengths in general are not kept constant by an affine mapping.

Under an affine mapping:

- parallel lines remain parallel;
- concurrent lines remain concurrent (images of intersecting lines intersect);
- the ratio of length of segments of a given line remains constant;
- the ratio of areas of two triangles remains constant;
- ellipses, parabolas and hyperbolas remain ellipses, parabolas and hyperbolas respectively;
- barycentres of polygons map into the corresponding barycentres.

Geometric contraction, expansion, dilation, reflection, rotation, shear, similarity transformations, spiral similarities, and translation are all affine transformations, as are their combinations.

Affine mappings that keep also distances and angles are called Euclidean mappings or isometries.