fmeobjects.FMEGeometryTools.refineCurve
- FMEGeometryTools.refineCurve(curve, refineType)
See the documentation for
refineGeometry(). Bitmask elements are defined in Refine Curve Type.- Parameters:
curve (FMECurve) – The curve to refine.
refineType (int) – One of:
FME_RC_PATH_CONCAT_LINES,FME_RC_PATH_EXTRACT_SINGLE_LINES,FME_RC_PATH_EXTRACT_SINGLE_ARCS,FME_RC_ARC_STANDARDIZE,FME_RC_ARC_STROKE,FME_RC_LINE_REMOVE_DUPLICATE_COORDS, orFME_RC_LINE_REMOVE_DUPLICATE_COORDS_Z.
- Return type:
- Returns:
The refined curve. Note: This method returns a terminal geometry type of the
FMECurve; i.e. one of the leaf classes in theFMECurveinheritance graph. For example, aFMELineis returned if the geometry truly is a line.- Raises:
FMEException – An exception is raised if an error occurred.