mesh_geodesic_distances_numpy

compas.datastructures.mesh_geodesic_distances_numpy(mesh, sources, m=1.0)[source]

Compute geodesic from the vertices of a mesh to given source vertices.

Parameters
  • mesh (compas.datastructures.Mesh) – A mesh instance.

  • sources (list[int]) – A list of vertex identifiers from which the distances should be calculated.

  • m (float, optional) – ?

Returns

array – Distance values.