Skip to contents

Rotate sf geometry about its centroid

Usage

rotate_about_centroid(sf_geom, angle)

Arguments

sf_geom

sf geometry object

angle

Angle (in radians) by which the geometry is to be rotated

Value

sf geometry object rotated about its centroid by the desired angle