fmeobjects.FMEGeometryTools.extractTextLocation
- FMEGeometryTools.extractTextLocation(text)
This routine consumes the text passed in and returns the
IFMEGeometry
that was its location.- Parameters:
text (FMEText) – The text whose location to extract.
- Return type:
- Returns:
The geometry at the text’s location. 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.