Network.
compute_distance_to_vertices
(self, x, y, arc)[source]¶Given an observation on a network arc, return the distance to the two vertices that bound that end.
x-coordinate of the snapped point.
y-coordinate of the snapped point.
(vtx0, vtx1) representation of the network arc.
The distance to vtx0. Always the vertex with the lesser id.
The distance to vtx1. Always the vertex with the greater id.