fmeobjects.FMEGeometryTools.splitDoubleSidedSurface

FMEGeometryTools.splitDoubleSidedSurface()

splitDoubleSidedSurface(doubleSidedSurface),

Takes a double-sided surface and splits it up into two single-sided surfaces of the same type. If the passed in geometry is actually single-sided, then None is returned for the side that doesn’t exist. An error is returned when the function encounters a problem trying to split up the surface.

Parameters:

doubleSidedSurface (FMESurface) – The surface to split up.

Return type:

list[FMESurface]

Returns:

A List of the front and back side of doubleSidedSurface, in the form [frontSideSurface, backSideSurface].

Raises:

FMEException – An exception is raised if an error occurred.