fmeobjects.FMEGeometryTools.refineArea
- FMEGeometryTools.refineArea(area, refineType)
See the documentation for
refineGeometry(). Bitmask elements are defined in Refine Area Type.- Parameters:
area (FMEArea) – The area to refine.
refineType (int) – One of:
FME_RA_PATH_CONCAT_LINES,FME_RA_PATH_EXTRACT_SINGLE_LINES,FME_RA_PATH_EXTRACT_SINGLE_ARCS,FME_RA_ARC_STANDARDIZE,FME_RA_ARC_STROKE,FME_RA_AREA_STANDARDIZE,FME_RA_LINE_REMOVE_DUPLICATE_COORDS, orFME_RA_LINE_REMOVE_DUPLICATE_COORDS_Z.
- Return type:
- Returns:
The refined area. Note: This method returns a terminal geometry type of the
FMEArea; i.e. one of the leaf classes in theFMEAreainheritance graph. For example, aFMEPolygonis returned if the geometry truly is a polygon.- Raises:
FMEException – An exception is raised if an error occurred.