ViewPoint.distance#

ViewPoint.distance(coord)#

Distance from vertex to point

Parameters:

coord (ndarray(n) or Vertex) – coordinates of the point

Returns:

distance

Return type:

float

Distance is computed according to the graph’s metric.

Seealso:

metric