Parameters
- geometry
 - The geometry to rotate. If the geometry is an Envelope, then it will be converted to a polygon.
 - origin
 - The origin around which the geometry will be rotated.
 - rotationAngle
 - The rotation angle in radians.
 
Return Value
The rotated geometry. If the input geometry is an Envelope, then a polygon is returned. If the input geometry is empty, then an empty geometry is returned.