Conformal linear transformation

From HandWiki

A conformal linear transformation is a linear transformation that is also a conformal map. Since it is a linear transformation, it transforms vectors between vector spaces. In terms of high-level transform decomposition, a conformal linear transformation may only be composed of rotation and uniform scale (and translation in the case of matrices with an origin vector), but not shear/skew or non-uniform scale. This restriction ensures the transform preserves angles like a conformal map. Additionally, this union of linear transformations and conformal maps has a new property not generally present in either alone, that distance ratios are preserved by the transformation.[1][2]

General properties

Across all dimensions, a conformal linear transformation matrix has the following properties:

Two dimensions

In 2D, a conformal linear transformation has a special form. For a non-flipped conformal 2D basis, it looks like this:

[math]\displaystyle{ \begin{bmatrix}a&-b\\b&a\end{bmatrix} }[/math]

Or, in the case of a flip/reflection, the form is similar but with the signs swapped in the second column:

[math]\displaystyle{ \begin{bmatrix}a&b\\b&-a\end{bmatrix} }[/math]

This form occurs because in order for a transformation matrix to be conformal, the second column must be 90 degrees apart from the first column (orthogonal), and the same length (uniform scale). This gives only 2 possible locations for the second column, one flipped, and one non-flipped.

A similar form can occur in other dimensions when there is only rotation between two axes.

Practical applications

Ensuring a transformation is conformal has benefits in various domains.

When composing multiple linear transformations, it is possible to create a shear/skew by composing a parent transform with a non-uniform scale, and a child transform with a rotation. Therefore, in situations where shear/skew is not allowed, transformation matrices must also have uniform scale in order to prevent a shear/skew from appearing as the result of composition. This implies conformal linear transformations are required to prevent shear/skew when composing multiple transformations.

In physics simulations, a sphere (or circle, hypersphere, etc.) is often defined by a point and a radius. Checking if a point overlaps the sphere can therefore be performed by using a distance check to the center. With a rotation or flip/reflection, the sphere is symmetric and invariant, therefore the same check works. With a uniform scale, only the radius needs to be changed. However, with a non-uniform scale or shear/skew, the sphere becomes "distorted" into an ellipsoid, therefore the distance check algorithm does not work correctly anymore.

References