Revert "Removed function SetResliceTransformByGeometry."
This reverts commit 266455b27c8039264510b1f37dd8f9349480ad3f.