fmeobjects.FMEFeature.getDonutParts

FMEFeature.getDonutParts()

Break a donut feature into its constituent parts. The first part is the outer shell of the donut polygon, and the following parts are the holes. All of the parts have the same attributes and feature type as the original feature.

Return type:

list[FMEFeature]

Returns:

A list of features representing the constituent parts of the original donut.

Raises:

FMEException – An exception is raised if an error occurred.