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) – A list of vertex identifiers from which the distances should be calculated.

  • m (float (1.0)) – ?

Returns

array – Distance values.