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:
meshcompas.datastructures.Mesh

A mesh instance.

sourceslist[int]

A list of vertex identifiers from which the distances should be calculated.

mfloat, optional

?

Returns:
array

Distance values.