fmeobjects.FMEGeometryTools.refineCurve

FMEGeometryTools.refineCurve(curve, refineType)

See the documentation for refineGeometry(). Bitmask elements are defined in Refine Curve Type.

Parameters:
Return type:

FMEGeometry

Returns:

The refined curve. Note: This method returns a terminal geometry type of the FMECurve; i.e. one of the leaf classes in the FMECurve inheritance graph. For example, a FMELine is returned if the geometry truly is a line.

Raises:

FMEException – An exception is raised if an error occurred.