We probably mark applyTransform as an `@api` function (as for SimpleGeometry).