def get_rightmost_coord(geom):
    """
    gets rightmost coordinate of a geometry object
    :param geom: shapely.geometry.LineString/MultiLineString/Point
    :return: float
    """
    return max(geom.xy[0])