Support LinearRing for affinity and transform operations.

Also fix transform docs.