Function importer::soundcast::trips::endpoints[][src]

fn endpoints(
    from: &Endpoint,
    to: &Endpoint,
    map: &Map,
    osm_id_to_bldg: &HashMap<OsmID, BuildingID>,
    (in_borders, out_borders): (&Vec<(IntersectionID, LonLat)>, &Vec<(IntersectionID, LonLat)>),
    constraints: PathConstraints,
    maybe_huge_map: Option<&(&Map, HashMap<OsmID, BuildingID>)>
) -> Option<(TripEndpoint, TripEndpoint)>