fmeobjects.FMEPolygon.setBoundary

FMEPolygon.setBoundary(boundary)

This sets the curve that defines the boundary of the polygon. If this curve is not closed, the closure will be assumed as a straight line from the start point to the end point. This will return an error if the boundary passed in is invalid or None.

Parameters:

boundary (FMECurve) – The curve to set as the boundary of the polygon.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.