fmeobjects.FMEGeometryTools.makeDonuts¶
-
FMEGeometryTools.
makeDonuts
()¶ makeDonuts(multiArea),
This routine takes in a MultiArea, extracts simple areas from it, and creates donuts out of them. The resulting donuts and simple areas, if any, are returned. The returned MultiArea may contain a mixture of donuts and simple areas.
Parameters: multiArea (FMEMultiArea) – The multi area to extract the donuts from. Return type: FMEGeometry Returns: The donuts and simple areas extracted form the multi area. Note: This method returns a terminal geometry type of the FMEGeometry
; i.e. one of the leaf classes in theFMEGeometry
inheritance graph. For example, aFMESimpleArea
is returned if the geometry truly is a simple area.Raises: FMEException – An exception is raised if an error occurred.