fmeobjects.FMECompositeSurface.rotate2D

FMECompositeSurface.rotate2D(center, angle)

Rotates this surface about the z-axis by the specified angle, in degrees. The rotation is performed relative to the center specified. A positive angle corresponds to a counter-clockwise rotation, when looking down onto the XY-plane.

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

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

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.