fmeobjects.FMEPolygon.rotate2D

FMEPolygon.rotate2D(center, angle)

Rotate the area counterclockwise around the ‘center’ point by the specified ‘angle’ (in degrees).

Parameters:
  • center (FMEPoint) – The center point of the area.

  • angle (float) – The angle by which the area is rotated.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.