fmeobjects.FMEGeometryTools.closeArcAsEllipse

FMEGeometryTools.closeArcAsEllipse(arc)

This routine is to see if the current arc is closed. A closed arc is defined as one where the start and end points are equal. If None is passed in, nothing will be done. The returned geometry may or may not be the original object that was passed in. If a different object is returned, the original object will be destroyed.

Parameters:

arc (FMEArc) – The arc to close as an ellipse.

Return type:

FMEEllipse or None

Returns:

The Arc closed as an ellipse or None