fmeobjects.FMELine.indexOfCoord

FMELine.indexOfCoord(coord)

Returns the index of the first coordinate defined within the tuple ‘coord’, or FME_NPOS32 if no such coordinate is found.

Parameters:

coord (tuple) – The z tuple containing coordinate whose index to search.

Return type:

int

Returns:

The index of the supplied coordinate, or FME_NPOS32 if no such coordinate exists.