fmeobjects.FMECompositeSolid.rotate2D

FMECompositeSolid.rotate2D(center, angle)

Rotates this solid 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 solid.

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

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.