fmeobjects.FMEFeature.rotate2D

FMEFeature.rotate2D(origin, angle)

Rotate the feature counterclockwise around the origin point by the specified angle (in degrees).

Parameters:
  • origin ((float, float)) – The origin of the feature.

  • angle (float) – The angle (in degrees) which to rotate the feature in the counterclockwise direction.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.