fmeobjects.FMEGeometryTools.setArcSweepAngle

FMEGeometryTools.setArcSweepAngle(arc, angle)

Sets the sweep angle of the arc. If the angle is a bulge arc, it is turned as an arc by center point to support sweep angle of 360.

Parameters:
  • arc (FMEArc) – The arc to set the sweep angle for.
  • angle (float) – The arc’s sweep angle.
Return type:

FMEArc

Returns:

The arc after setting the sweep angle.

Raises:

FMEException – An exception is raised if an error occurred.