Support LinearRing for affinity and transform operations (fix #112)

Also fix transform docs.