fmeobjects.FMEGeometryTools.force2D¶
-
FMEGeometryTools.
force2D
(geometry)¶ This routine forces the geometry to 2D. If the geometry is surface or solid, it will become 2D polygons, or wire-frame if the surface is vertical.
Parameters: geometry (FMEGeometry) – The geometry to force 2D. Return type: FMEGeometry Returns: The geometry in 2D. Note: This method returns a terminal geometry type of the FMEGeometry
; i.e. one of the leaf classes in theFMEGeometry
inheritance graph. For example, aFMELine
is returned if the geometry truly is a line.Raises: FMEException – An exception is raised if an error occurred.