fmeobjects.FMEReprojector.reprojectAngle

FMEReprojector.reprojectAngle(startX, startY, finishX, finishY)

This reprojects the angle of the given line, measured CCW from the horizontal, and returns the resulting angle in degrees. If the coordinate systems are not set or invalid, this will throw an exception, and the result will be set to the original angle.

Parameters:
  • startX (float) – The x coordinate of the starting point.

  • startY (float) – The Y coordinate of the starting point.

  • finishX (float) – The x coordinate of the starting point.

  • finishY (float) – The Y coordinate of the starting point.

Return type:

float

Returns:

The angle of the reprojection in degrees.

Raises:

FMEException – An exception is raised if an error occurred.