fmeobjects.FMEGeometryInstance.rotate2D

FMEGeometryInstance.rotate2D(center, angle)

The angle is CCW up from the horizontal and is measured in degrees. The rotation will be applied to the transformation matrix associated with this geometry instance. If the geometry instance has no matrix, a new matrix will be created.

Parameters:
  • center (FMEPoint) – The center of the geometry instance’s matrix.

  • angle (float) – The angle in degrees.

Return type:

None.